The following provisions apply with respect to a net sum certified by a recognised body under its default rules to be payable by or to a defaulter.
If, in England and Wales, a bankruptcy, winding-up or administration order has been made, or a resolution for voluntary winding-up has been passed, the debt—
in the same way as a debt before the commencement of the bankruptcy, the date on which the body corporate goes into liquidation (within the meaning of section 247 of the Insolvency Act 1986), or enters administration or, in the case of a partnership, the date of the winding-up order or the date on which the partnership enters administration.
If, in Scotland, an award of sequestration or a winding-up or administration order has been made, or a resolution for voluntary winding up has been passed, the debt—
in the same way as a debt due before the date of sequestration (within the meaning of section 22(7) of the Bankruptcy (Scotland) Act 2016 ) or the commencement of the winding up (within the meaning of section 129 of the Insolvency Act 1986) or the date on which the body corporate enters administration.
In subsections (2) and (3), a reference to the making of an administration order shall be taken to include a reference to the appointment of an administrator under—
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—
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.
Subsection (4) does not apply in relation to a sum arising from a contract effected under the default rules of a recognised body.
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.