A county youth house may be the place of detention for all persons under the age of 16 years who come within the class mentioned in section 9:11-3 of this Title, but nothing in this article shall forbid imprisonment in a county jail or other county or State institution, or detention in the county jail awaiting trial, or commitment to the care of probation officers under authority of law.
N.J.S. § 9:11-5