6.-(1) Where a person apparently under the age of sixteen years is apprehended with or without warrant and cannot be brought forthwith before a Court, any police officer not below the rank of sergeant or the police officer in charge of the police station to whom such person is brought shall inquire into the case, and may release him on a recognizance, with or without sureties, being entered into by him or his parent or guardian or other person acceptable to such police officer in such amount as will, in the opinion of such officer, secure the attendance of such person upon the hearing of the charge, and shall so release him unless- (a) the charge is one of homicide or other grave crime;
(b) it is necessary in his interest to remove him from association with any undesirable person; or
(c) the police officer has reason to believe that his release would defeat the ends of justice.
(2) Where such person is not released on a recognizance under the provisions of subsection (1), the police officer to whom such person is brought shall cause him to be detained in a police station until he has been brought before a Court.