This section applies where a court imposes a sentence of detention in a young offender institution for an offence where—
But this section does not apply if—
The term of the sentence must be equal to the aggregate of—
and must not exceed the maximum term of imprisonment with which the offence is punishable in the case of a person aged 21 or over.
For the purposes of subsection (2), the “appropriate custodial term” is the term that, in the opinion of the court, ensures that the sentence is appropriate.
Where an offence is found to have been committed over a period of 2 or more days, or at some time during a period of 2 or more days, it must be taken for the purposes of subsection (1A) to have been committed on the last of those days.
In the case of an offence listed in paragraph 4(b) of Schedule 13, this section applies in relation to convictions on or after the day on which paragraph 6 of Schedule 27 to the Crime and Policing Act 2026 comes into force.