(1)F325Notwithstanding anything in [F324section 82(4) of the Sentencing CodeF324] (conviction of offender . . . discharged to be disregarded for the purposes of enactments relating to disqualification), a court in England and Wales which on convicting a person of an offence involving obligatory or discretionary disqualification makes—
F326 (a). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
(b)an order discharging him absolutely or conditionally,
may on that occasion also exercise any power conferred, and must also discharge any duty imposed, on the court by sections 34, 35, 36 [F327, 44 or 44AF327] of this Act.
(2)A conviction—
(a)in respect of which a court in England and Wales has ordered a person to be disqualified, or
(b)F328of which particulars have been endorsed on ... [F329 his driving recordF329] ,
F331 is to be taken into account, notwithstanding anything in [F330section 82(2) of the Sentencing CodeF330] (conviction of offender . . . discharged to be disregarded for the purpose of subsequent proceedings), in determining his liability to punishment or disqualification for any offence involving obligatory or discretionary disqualification committed subsequently.
(3)Where—
(a)a person is charged in Scotland with an offence involving obligatory or discretionary disqualification, and
(b)the court makes an order in respect of the offence under [F332section 228 (probation) or 246(2) or (3) (absolute discharge) of the Criminal Procedure (Scotland) Act 1995F332]
then, for the purposes of sections 34, 35, 36, 44 F333[F334... and 45AF334] of this Act, he shall be treated as if he had been convicted of an offence of the kind in question and [F335section 247 of that Act shall not applyF335] .