(a) When a court finds a delinquent juvenile committed a delinquent act while under eighteen (18) years of age, the court may commit the juvenile to the Division of Youth Services.
(b) No court may commit a juvenile found solely in criminal contempt to the division.