RCMP wrongfully seized 31 firearms and violated defendant's rights: Judge