Whenever a person is incarcerated in a state prison for violating Section 261, 264.1, 266c, 285, 286, 287, 288, 288.5, 289, or former Section 288a, and the victim of one or more of those offenses is a child under the age of 18 years, the Secretary of the Department of Corrections and Rehabilitation shall protect the interest of that child victim by prohibiting visitation between the incarcerated person and the child victim pursuant to Section 1202.05. The secretary shall allow visitation only when the juvenile court, pursuant to Section 362.6 of the Welfare and Institutions Code, finds that visitation between the incarcerated person and his or her child victim is in the best interests of the child victim.
Ca. Pen. Code § 5054.2