536. Where a legal person is guilty of an offence under any of sections 531 to 535, any director, employee or agent of the legal person who has prescribed or authorized the commission of the offence or assented thereto or acquiesced or participated therein is deemed a party to such offence.