This section applies where—
The court may make a criminal behaviour order against the offender if it—
But the court may make a criminal behaviour order only if it—
Prohibitions and requirements in a criminal behaviour order must, so far as practicable, be such as to avoid—
The prosecution must find out the views of the local youth offending team before applying for a criminal behaviour order to be made if the offender will be under the age of 18 when the application is made.
In this section “local youth offending team” means the youth offending team in whose area it appears to the prosecution that the offender resides.