Full text
On application by the prosecutor, a judge of a superior court of criminal jurisdiction may, if a prisoner or a person in the custody of a peace officer consents in writing, order the transfer of the prisoner or other person to the custody of a peace officer named in the order for a period specified in the order, where the judge is satisfied that the transfer is required for the purpose of assisting a peace officer acting in the execution of his or her duties.