Cal. Penal Code § 1202.05
(b) The Department of Corrections is authorized to notify the sentencing court of persons who were sentenced to the state prison prior to January 1, 1993, for violating Section 261, 264.1, 266c, 285, 286, 288, 288.5, or 289, or former Section 288a, when the victim of one or more of those offenses was a child under the age of 18 years.
Upon notification by the department pursuant to this subdivision, the sentencing court shall prohibit all visitation between the defendant and the child victim, according to the procedures specified in subdivision (a).