A belief that conduct does not legally constitute an offense is a defense to a prosecution for that offense based upon such conduct when: . . . (b) he acts in reasonable reliance upon an official statement of the law, afterward determined to be invalid or erroneous, contained in (i) a statute or other enactment; (ii) a judicial decision, opinion or judgment; (iii) an administrative order or grant