The provisions of Chapter 1 (commencing at Section 4000) of this title shall, so far as appropriate, be applicable to a joint county jail established pursuant to this chapter, and the person appointed by the board of directors to superintend a joint county jail has such powers and duties as has a sheriff, with respect to county jails, under Chapter 1.
Ca. Pen. Code § 4065