The board of supervisors may, by ordinance, direct the county superintendent of schools to establish and maintain classes or schools for prisoners in any county jail, county honor farm, or any county industrial farm or county or joint county road camp established by the county. The county board of education shall have the same powers and duties with respect to such schools, including the establishment of the budget deemed necessary for the operation of the school programs, as the governing board of a school district would have were such schools maintained by a school district.
Ca. Educ. Code § 1906