Cal. Gov't Code § 29608
The contingent expenses necessarily incurred for the use and benefit of the county are county charges.