The Mayor shall not assign any child regardless of age to any public institution except that any such child who requires medical treatment may be assigned to a hospital or other medical facility for such treatment or unless ordered to such rehabilitative institution as a court of competent jurisdiction may direct.
D.C. Code § 4-203.04