A public entity is not required to provide for the defense of a criminal action or proceeding (including a proceeding to remove an officer under Sections 3060 to 3073, inclusive, of the Government Code) brought against an employee or former employee, but a public entity may provide for the defense of a criminal action or proceeding (including a proceeding to remove an officer under Sections 3060 to 3073, inclusive, of the Government Code) brought against an employee or former employee if:
Ca. Gov. Code § 995.8