(A) General. Unless the prosecuting attorney has authorized a complaint and warrant charging the juvenile with an offense as though an adult pursuant to MCL 764.1f, when a juvenile is apprehended and not released, the officer shall:
(1) forthwith take the juvenile
(a) before the court for a preliminary hearing, or
(b) to a place designated by the court pending the scheduling of a preliminary hearing;
(2) ensure that the petition is prepared and presented to the court;
(3) notify the parent, guardian, or legal custodian of the detaining of the juvenile and of the need for the presence of the parent, guardian, or legal custodian at the preliminary hearing;
(4) prepare a custody statement for submission to the court including:
(a) the grounds for and the time and location of detention, and
(b) the names of persons notified and the times of notification, or the reason for failure to notify.
(B) Temporary Detention; Court Not Open.
(1) Grounds. A juvenile apprehended without court order when the court is not open may be detained pending preliminary hearing if the offense or the juvenile meets a circumstance set forth in MCR 3.935(D)(1), or if no parent, guardian, or legal custodian can be located.
(2) Designated Court Person. The court must designate a judge, referee, or other person who may be contacted by the officer taking a juvenile into custody when the court is not open. In each county there must be a designated facility open at all times at which an officer may obtain the name of the person to be contacted for permission to detain the juvenile pending preliminary hearing.