PART II - GENERAL PRINCIPLES OF CRIMINAL LIABILITY
Attempts
22. (1) If, with intent to commit a criminal offence, a person does an act which is more than merely preparatory to the commission of the offence, she or he commits the offence of an attempt to commit the offence.
(2) Subsection (1) shall apply even where the facts are such that the commission of an offence is impossible.
EDIT.