CA Penal Code § 4029 (2021)
2021 California Code|Penal Code - PEN|PART 3 - OF IMPRISONMENT AND THE DEATH PENALTY|TITLE 4 - COUNTY JAILS, FARMS AND CAMPS|CHAPTER 1 - County Jails|Section 4029.

4029.  (a) Whenever within any county adult detention facility or part of any county detention facility used for the confinement of adults, not including any city jail, any facility, including but not limited to any room or cell, vocational training facility, recreation area, rest area, dining room, store, or facility for the exercise of religious freedom, is provided for use by any prisoner for any purpose, a separate facility of equal quality, or separate use of the same facility, or joint use of the same facility where appropriate, shall be provided for prisoners of the opposite sex for such purpose.(b) Whenever within any county adult detention facility or part of any county detention facility used for the confinement of adults, not including any city jail, any program, service or privilege, including but not limited to any general or vocational education, physical education or recreation, work furlough program, psychological counseling, work within the institution, visiting privileges, or medical treatment, is provided for any prisoner, such a program, service or privilege of equal quality shall be provided for prisoners of the opposite sex, except when the proportion of prisoners of one sex is so small that the cost of providing any program, service or privilege described in this subdivision, other than medical treatment or health maintenance, for such prisoners would not be justified in relation to the reduction in the level of any other program, service or privilege that would result from the diversion of funds for such purpose.(c) Nothing in this section shall require the establishment of any facility for the use of, or the making available of any program, service or privilege to, any prisoner. Nothing in this section shall require any facility, program, service or privilege established or available prior or subsequent to January 1, 1975, to be made available to any particular male or female prisoner or number of such prisoners, except that any type of facility, program, service or privilege which is made accessible or available to all male or female prisoners in any class defined by subdivisions 1, 2, and 3 of Section 4001 shall be made accessible or available to all prisoners of the opposite sex in such class as provided in subdivisions (a) and (b), and any criterion other than the sex of the prisoner which is used for the selection of a particular prisoner or group of prisoners to have, or to have access to, any facility, program, service or privilege shall be equally applied to the selection of all prisoners, regardless of sex.(d) Every county shall comply with subdivisions (a), (b), and (c) by January 1, 1979. Such compliance shall not be required unless the Legislature provides funds to assist in the accomplishment of such compliance. Every county shall report to the Legislature by January 1, 1976, as to whether such compliance can be accomplished, and stating the reasons why it cannot be accomplished if that be the case.(e) Whenever within any county adult detention facility or part of any county detention facility used for the confinement of adults, not including any city jail, an inpatient psychiatric facility designated by the county mental health director to treat patients under Division 5 (commencing with Section 5000) and Division 6 (commencing with Section 6000) of the Welfare and Institutions Code, is provided for prisoners of one sex who may not depart from the detention facility for treatment elsewhere, and where the proportion of prisoners of the opposite sex requiring the same type of treatment is so small that the cost of providing a separate program of equal quality would not be justified in relation to the reduction in the level of another program, service, or privilege that would result from the diversion of funds for such purpose, the above designated mental health treatment program may treat prisoners of both sexes if each of the following conditions is met:(1) The program is one that would be considered suitable for the treatment of patients of both sexes if it were located in a psychiatric treatment facility devoted to evaluation and treatment under Division 5 (commencing with Section 5000) and Division 6 (commencing with Section 6000) of the Welfare and Institutions Code for patients who are not prisoners.(2) A female deputy sheriff or other suitable woman assigned to jail duty is assigned to the treatment program in accordance with Sections 4020.4, 4020.7, 4020.8, and 4021 of this code. Notwithstanding the provisions of Section 4020.4 of this code, in a county of any size, the sheriff may designate a female member of the mental health treatment staff for this assignment.(Amended by Stats. 1980, Ch. 547, Sec. 17.5.)