Cal. Welf. & Inst. Code § 1731.5
(a) After certification to the Governor as provided in this article, a court may, until July 1, 2021, commit to the Division of Juvenile Justice any person who meets all of the following:
(c) A person under 18 years of age who is not committed to the division pursuant to this section may be transferred to the division by the Secretary of the Department of Corrections and Rehabilitation with the approval of the Director of the Division of Juvenile Justice. In sentencing a person under 18 years of age, the court may, until July 1, 2021, order that the person be transferred to the custody of the Division of Juvenile Justice pursuant to this subdivision. If the court makes this order and the division fails to accept custody of the person, the person shall be returned to court for resentencing. The transfer shall be solely for the purposes of housing the inmate, allowing participation in the programs available at the institution by the inmate, and allowing division parole supervision of the inmate, who, in all other aspects shall be deemed to be committed to the Department of Corrections and Rehabilitation and shall remain subject to the jurisdiction of the Secretary of the Department of Corrections and Rehabilitation and the Board of Parole Hearings. Notwithstanding subdivision (b) of Section 2900 of the Penal Code, the secretary, with the concurrence of the director, may designate a facility under the jurisdiction of the director as a place of reception for a person described in this subdivision. The director has the same powers with respect to an inmate transferred pursuant to this subdivision as if the inmate had been committed or transferred to the Division of Juvenile Justice either under the Arnold-Kennick Juvenile Court Law or subdivision (a). The duration of the transfer shall extend until any of the following occurs: