Section II. A Crime
Article 16. Insanity
1. A person shall not be subject to criminal liability who, during the commission of a publicly dangerous act stipulated by the present Code, was in a state of insanity, that is could not be aware of the actual character and public danger of his acts (failure to act), or guide them, as a consequence of a chronic mental disease, temporary psychic disorder, feeblemindedness, or other morbid state of mind.
2. With regard to a person who was recognised as insane, a court may apply compulsory measures of a medical character stipulated by the present Code.
Article 17. Criminal Liability of Persons with a Mental Disorder Which Does Not Exclude Sanity
1. A sane person who, during the commission of a crime, due to a mental disorder, could not fully be aware of the actual character and public danger of his acts (omission of acts) or guide them, shall be subject to criminal liability.
2. A mental disorder which does not exclude sanity shall be taken into consideration by a court when appointing punishment, and may serve as a basis for the appointment of compulsory measures of a medical character stipulated by the present Code.
1. In addition to other grounds for excluding criminal responsibility provided for in this Statute, a person shall not be criminally responsible if, at the time of that person's conduct:
(a) The person suffers from a mental disease or defect that destroys that person's capacity to appreciate the unlawfulness or nature of his or her conduct, or capacity to control his or her conduct to conform to the requirements of law;
(b) The person is in a state of intoxication that destroys that person's capacity to appreciate the unlawfulness or nature of his or her conduct, or capacity to control his or her conduct to conform to the requirements of law, unless the person has become voluntarily intoxicated under such circumstances that the person knew, or disregarded the risk, that, as a result of the intoxication, he or she was likely to engage in conduct constituting a crime within the jurisdiction of the Court;
(c) The person acts reasonably to defend himself or herself or another person or, in the case of war crimes, property which is essential for the survival of the person or another person or property which is essential for accomplishing a military mission, against an imminent and unlawful use of force in a manner proportionate to the degree of danger to the person or the other person or property protected. The fact that the person was involved in a defensive operation conducted by forces shall not in itself constitute a ground for excluding criminal responsibility under this subparagraph;
(d) The conduct which is alleged to constitute a crime within the jurisdiction of the Court has been caused by duress resulting from a threat of imminent death or of continuing or imminent serious bodily harm against that person or another person, and the person acts necessarily and reasonably to avoid this threat, provided that the person does not intend to cause a greater harm than the one sought to be avoided. Such a threat may either be:
(i) Made by other persons; or
(ii) Constituted by other circumstances beyond that person's control.