(1) If an offer to make amends under section 22 is accepted the following provisions shall apply:
(a) if the parties agree as to the measures that should be taken by the person who made the offer to ensure compliance by him or her with the terms of the offer, the High Court or, where a defamation action has already been brought, the court in which it was brought may, upon the application of the person to whom the offer was made, direct the party who made the offer to take those measures;
(b) if the parties do not so agree, the person who made the offer may, with the leave of the High Court or, where a defamation action has already been brought, the court in which it was brought, make a correction and apology by means of a statement before the court in such terms as may be approved by the court and give an undertaking as to the manner of their publication;
(c) if the parties do not agree as to the damages or costs that should be paid by the person who made the offer, those matters shall
…