(1) This section applies to a person who is convicted of an offence against section 22, section 22A, section 22C or section 23.
(2) If the person is a first offender in relation to the offence mentioned in subsection (1), the person is automatically disqualified from holding or obtaining a driver licence for—
(a) 2 years; or
(b) if the court orders a shorter period of disqualification that is not less than 6 months—the shorter period.
(3) If the person is a repeat offender in relation to the offence mentioned in subsection (1), the person is automatically disqualified from holding or obtaining a driver licence for—
(a) 4 years; or
(b) if the court orders a shorter period of disqualification that is not less than 12 months—the shorter period.