Criminal Code of Canada
Part 1- General
PARTIES TO OFFENCES
22. (1) Where a person counsels another person to be a party to an offence and that other person is afterwards a party to that offence, the person who counselled is a party to that offence, notwithstanding that the offence was committed in a way different from that which was counselled.
EDIT.