If a court—
(a) deals with an offender under section 125 or 126 for an offence for which a community based order was made; and
(b) under section 189 , takes into account contraventions of the requirements of other community based orders;all the community based orders are discharged.
Note—An offence against section 123 (1) is an excluded offence under section 189 if the community based order to which the offence relates is a graffiti removal order.