California Government Code Section 820.6

CA Govt Code § 820.6 (2017)  

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.

(Added by Stats. 1963, Ch. 1681.)

Last modified: October 25, 2018