( purpose ) Article 38 An act without intent to commit a crime shall not be punished. However, this shall not apply where there are special provisions in law. 2 A person who commits an act which should constitute a serious offense, but who does not know at the time of the act the fact that it would constitute such a serious offense, may not be punished by such a serious offense. 3 Even if the offender was ignorant of the law, it cannot be assumed that he/she did not intend to commit the crime. However, the sentence may be reduced according to the circumstances.
This page is auto-translated from /nishio/刑法38条 using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.