A public employee is not liable for his act or omission, exercising due care, in the execution or enforcement of any law. Nothing in this section exonerates a public employee from liability for false arrest or false imprisonment.
Ca. Gov. Code § 820.4