57. Any Court by which a person is convicted of having committed an offence in respect of a child or before which a person is brought for trial for any such offence shall direct the child concerned to be produced before a Juvenile Court or, where there is no Juvenile Court, a Court empowered under section 4 for making such orders as it may deem proper.