It shall be lawful and mandatory upon the warden or other official in charge of a penal or correctional institution in this State to give over the person of any inmate thereof whenever so required by the operation of the agreement on detainer. Such official shall inform such inmate of his rights provided in paragraph (a) of Article IV of the Agreement on Detainers in Section 1389 of this code.
Ca. Pen. Code § 1389.5