(1) This part applies if—
(a) either of the following applies to a person who is an adult (the offender ):
(i) the offender pleads guilty to an offence;
(ii) the offender indicates to the court an intention to plead guilty to an offence; and
(b) the offence is an eligible offence.
(2) In this section:
"eligible offence"—see section 12A (9).