Section 820.6 Of Article 3. Liability Of Public Employees From California Government Code >> Division 3.6. >> Title 1. >> Part 2. >> Chapter 1. >> Article 3.
820.6
. If a public employee acts in good faith, without malice, and
under the apparent authority of an enactment that is
unconstitutional, invalid or inapplicable, he is not liable for an
injury caused thereby except to the extent that he would have been
liable had the enactment been constitutional, valid and applicable.