5 (1) Every person who commits an act or omission outside Canada that, if committed in Canada, would constitute an offence under section 3 or 4 — or a conspiracy to commit, an attempt to commit, being an accessory after the fact in relation to, or any counselling in relation to, an offence under that section — is deemed to have committed that act or omission in Canada if the person is