Section 70(1)(c) in The Juvenile Justice (Care and Protection of Children) Act, 2015
(c)forwarding any case of persistent non-compliance of its instructions by any official or functionary or institution to a Magistrate having jurisdiction to try the same and the Magistrate to whom any such case is forwarded shall proceed to hear the same as if the case has been forwarded to him under section 346 of the Code of Criminal Procedure, 1973;