(2)Where an offence has been compounded under sub-section (1), the offender, if in custody, shall be discharged and no further proceedings shall be taken against him in respect of such offence.[Provided that notwithstanding compounding under this section, such offence shall be deemed to be a previous commission of the same offence for the purpose of determining whether a subsequent offence has been committed:Provided further that compounding of an offence will not discharge the offender from proceedings under sub-section (4) of section 206 or the obligation to complete a driver refresher training course, or the obligation to complete community service, if applicable.]