There is a court security bureau within the Contra Costa County Sheriff's Department to serve the superior court. The relationship between the sheriff's department and the court security bureau shall be similar to that which exists between the Sheriff's Department of Contra Costa County and certain cities in the county that contract for police services.
Ca. Gov. Code § 26625.2