21.2. The judge before whom the person arrested appears may(1) order that the person be released on recognizance, unconditionally or subject to reasonable conditions, with or without sureties, that he will attend and give evidence at the inquiry; or
(2) order that the person be detained in a house of detention for a period not exceeding eight days or, if the person is under 18 years of age, that he be entrusted to the director of youth protection designated by the judge.
A ruling made under the first paragraph may, on a motion, be revised by a judge of the Superior Court.