(1) Notwithstanding any other law and regardless of the child’s age, a child who is adjudicated delinquent, or for whom adjudication is withheld, for an act that would be a felony if committed by an adult, shall be committed to a maximum-risk residential program if the child has completed two different high-risk residential commitment programs. The commitment of a child to a maximum-risk residential program must be for an indeterminate period, but may not exceed the maximum term of imprisonment that an adult may serve for the same offense.
(2) In committing a child to the appropriate program, the court may consider an equivalent program of similar intensity as being comparable to a program required under subsection (1).