(1) No next friend or guardian for the suit shall, without the leave of the Court, expressly recorded in the proceedings, enter into any agreement or compromise on behalf of a minor with reference to the suit in which he acts as next friend of guardian. (2) Any such agreement or compromise entered into without the leave of the Court so record...