A person is not to be punished for any act which, by reason of ignorance or mistake of fact in good faith, he or she believes to be lawful.