(1) The Principal Act is amended by substituting the following for section 37:
"Return of contributions maintenance arrangements
37. Regulations may provide for the return of so much, if any, as may be prescribed subject to any conditions that may be prescribed, of any employment contribution, self-employment contribution, voluntary contribution, optional contribution or contribution under Chapter 5A or 5B of Part 2 paid by a contributor, in respect of any payment made by him or her under or pursuant to a maintenance arrangement -
(a) within the meaning of section 1025 of the Act of 1997 relating to a marriage, where the maintenance arrangement is for the benefit of the other party to the marriage, unless section 1026 of that Act applies in respect of that payment,
(b) within the meaning of section 1031J of the Act of 1997 relating to a civil partnership, where the maintenance arrangement is for the benefit of the other party to the civil partnership, unless section 1031K of that Act
…