New Orleans, La., Code § 54-17
Mistake of law
Ignorance of the sections of this chapter or any ordinance of the city, punishable by fine and/or imprisonment, is not a defense to any criminal prosecution. However, mistake of law which results in the lack of an intention that consequences which are criminal shall follow, is a defense to a criminal prosecution under the following circumstances:
(1) Where the offender reasonably relied on an act of this city in repealing an existing criminal provision, or in otherwise purporting to make the offender's conduct lawful; or
(2) Where the off ender reasonably relied on a final judgment of a competent court of last resort declaring as unconstitutional a provision of this chapter making the conduct which forms the basis of the prosecution criminal.
(Code 1956, § 42-19)