(d)Where the compounding of any offence is made after the institution of any prosecution, such compounding shall be brought by the Registrar in writing, to the notice of the court in which the prosecution is pending and on such notice of the compounding of the offence being given, the company or its officer in relation to whom the offence is so compounded shall be discharged.