BOOK I
GENERAL PROVISIONS
TITLE II
OF CRIMINAL LIABILITY
CHAPTER II
GROUNDS FOR ABSENCE OR ATTENTUATION OF LIABILITY
ARTICLE 122-3
A person is not criminally liable who establishes that he believed he could legitimately perform the action because of a mistake of law that he was not in a position to avoid.
EDIT.