Chapter 4 – Grounds for exemption from liability
Section 3 – Mistake as to a ground for exemption from liability
If the act does not involve grounds referred to below in sections 4 through 6 which would exempt the perpetrator from liability, but such grounds would have been connected with the situation in which the act was committed as reasonably understood by the perpetrator, he or she may not be punished for an intentional offence. Nonetheless, liability for a negligent offence may enter the question pursuant to the provisions on criminal liability for negligence.
Other defences
Unique provision - defences
EDIT.