(1)The following provisions apply with respect to the net sum certified by a recognised investment exchange or recognised clearing house, upon proceedings under its default rules being duly completed in accordance with this Part, to be payable by or to a defaulter.
(2)If, in England and Wales, a bankruptcy or winding-up order has been made, or a resolution for voluntary winding up has been passed, the debt—
(a)is provable in the bankruptcy or winding up or, as the case may be, is payable to the relevant office-holder, and
(b)shall be taken into account, where appropriate, under section 323 of the [1986 c. 45.] Insolvency Act 1986 (mutual dealings and set-off) or the corresponding provision applicable in the case of winding up,
in the same way as a debt due before the commencement of the bankruptcy, the date on which the body corporate goes into liquidation (within the meaning of section 247 of the [1986 c. 45.] Insolvency Act 1986) or, in the case of a partnership, the date of the winding-up order.
(3)If, in Scotland, an award of sequestration or a winding-up order has been made, or a resolution for voluntary winding up has been passed, the debt—
(a)may be claimed in the sequestration or winding up or, as the case may be, is payable to the relevant office-holder, and
(b)shall be taken into account for the purposes of any rule of law relating to set-off applicable in sequestration or winding up,
in the same way as a debt due before the date of sequestration (within the meaning of section 73(1) of the [1985 c. 66.] Bankruptcy (Scotland) Act 1985) or the commencement of the winding up (within the meaning of section 129 of the [1986 c. 45.] Insolvency Act 1986).
(4)However, where (or to the extent that) a sum is taken into account by virtue of subsection (2)(b) or (3)(b) which arises from a contract entered into at a time when the creditor had notice—
(a)that a bankruptcy petition or, in Scotland, a petition for sequestration was pending, or
(b)that a meeting of creditors had been summoned under section 98 of the [1986 c. 45.] Insolvency Act 1986 or that a winding-up petition was pending,
the value of any profit to him arising from the sum being so taken into account (or being so taken into account to that extent) is recoverable from him by the relevant office-holder unless the court directs otherwise.
(5)Subsection (4) does not apply in relation to a sum arising from a contract effected under the default rules of a recognised investment exchange or recognised clearing house.
(6)Any sum recoverable by virtue of subsection (4) ranks for priority, in the event of the insolvency of the person from whom it is due, immediately before preferential or, in Scotland, preferred debts.