(a) Except in those cases in which the superior court has exclusive original jurisdiction or juvenile court jurisdiction has been terminated and the child has been transferred to superior court, if it appears to any court in a criminal proceeding or a quasi-criminal proceeding that the accused is a child, the case shall forthwith be transferred to the juvenile court together with a copy of the indictment, special presentment, accusation, or citation and all other papers, documents, and transcripts of testimony relating to the case.
(b) The transferring court shall order that a child be taken forthwith to the juvenile court or to a place of detention designated by the court or shall release him or her to the custody of his or her parent, guardian, legal custodian, or other person legally responsible for him or her to be brought before the juvenile court at a time designated by that court. The indictment, special presentment, accusation, or citation may not serve in lieu of a petition alleging delinquency in the juvenile court except as provided in Part 14 of this article.