(5) Subject to this Act, the Courts Act and the District and Intermediate Courts
(Criminal Jurisdiction) Act shall apply to Juvenile Courts and all the powers given to
or duties imposed upon a Magistrate exercising criminal jurisdiction in a District
Court are hereby given to and imposed upon a Magistrate sitting in a Juvenile Court.