(d)Where the composition of any offence is made after the institution of any prosecution, such composition 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 composition of the offence being given, the company or its officer in relation to whom the offence is so compounded shall be discharged.