PART I—GENERAL PROVISIONS
CHAPTER 5—GENERAL EXEMPTIONS
Section 29—Ignorance or Mistake of Fact or of Law.
(2) A person shall not, except as in this Code otherwise expressly provided, be exempt from liability to punishment for any act on the ground of ignorance that the act is prohibited by law.
2. A mistake of law as to whether a particular type of conduct is a crime within the jurisdiction of the Court shall not be a ground for excluding criminal responsibility. A mistake of law may, however, be a ground for excluding criminal responsibility if it negates the mental element required by such a crime, or as provided for in article 33.