That would be a violation of the Criminal Code. No evidence produced by torture can be used in any proceedings under a statute of Parliament. That's a provision right in the Criminal Code.
If law enforcement--let's say the RCMP--were to use evidence extracted perhaps by a foreign regime through torture to justify a preventive detention, a peace bond, or an investigative hearing, that would actually be prohibited by the Criminal Code. Incidentally, it would also be unconstitutional.