1. When a juvenile offender or adolescent offender is arraigned before the youth part of a superior court or the most accessible magistrate designated by the appellate division of the supreme court in the applicable department to act as a youth part, the provisions of article seven hundred twenty-two of this chapter shall apply in lieu of the provisions of sections 180.30, 180.50 and 180.70 of this article.