5. (1) When a Juvenile Court has been established for any local area, such Court shall try all cases in which a child is charged with the commission of an offence and shall deal with and dispose of all other proceedings under this Act, but shall not have power to try any case in which an adult is charged with any offence mentioned in Part VI of this Act.
(2) When a Juvenile Court has not been established for any local area, no Court other than a Court empowered under section 4 shall have power to try any case in which a child is charged with the commission of an offence or to deal with or dispose of any other proceeding under this Act.
(3) When it appears to a Juvenile Court or a Court empowered under section 4, such Court being subordinate to the Court of Session, that the offence with which a child is charged is triable exclusively by the Court of Session, it shall immediately transfer the case to the Court of Session for trial in accordance with the procedure laid down in this Act.