PART I-GENERAL PROVISIONS
CHAPTER IV
GENERAL RULES AS TO CRIMINAL RESPONSIBILITY
9. Intention and motive
(1) Subject to the express provisions of this Code relating to negligent acts and omissions, a person is not criminally responsible for an act or omission which occurs independently of the exercise of his will, or for an event which occurs by accident.
(2) Unless the intention to cause a particular result is expressly declared to be an element of the offence constituted, in whole or part, by an act or omission, the result intended to be caused by an act or omission is immaterial.
(3) Unless otherwise expressly declared, the motive by which a person is induced to do or omit to do an act, or to form an intention, is immaterial so far as regards criminal responsibility.
EDIT.