If a maintenance agreement includes a provision purporting to restrict any right to apply to a court for an order containing financial arrangements, then—
(a) that provision shall be void; but
(b) any other financial arrangements contained in the agreement shall not thereby be rendered void or unenforceable and shall, unless they are void or unenforceable for any other reason (and subject to sections 35 and 36 below), be binding on the parties to the agreement.
In this section and in section 35 below—
(a) an agreement containing financial arrangements, whether made during the continuance or after the dissolution or annulment of the marriage; or
(b) a separation agreement which contains no financial arrangements in a case where no other agreement in writing between the same parties contains such arrangements;
- "maintenance agreement" means any agreement in writing made, whether before or after the commencement of this Act, between the parties to a marriage, being—