If a defamation claim is settled before trial either party may apply to a judge in chambers for leave to make a statement in open court in terms agreed by the judge.