Subsections (3) to (5) apply where—
Subsections (3) to (5) also apply where—
In determining for the purposes of subsection (1)(d) or (1A)(d) whether it would impose a custodial sentence, the court must disregard any restriction on its power to impose such a sentence by reference to the age of the offender.
The court must impose a sentence of detention under this section.
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 (4), 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 (1) or (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.