If a payment is made in contravention of section 217 (payment by company)—
If a payment is made in contravention of section 218 (payment in connection with transfer of undertaking etc), it is held by the recipient on trust for the company whose undertaking or property is or is proposed to be transferred.
If a payment is made in contravention of section 219 (payment in connection with share transfer)—
If a payment is in contravention of section 217 and section 218, subsection (2) of this section applies rather than subsection (1).
If a payment is in contravention of section 217 and section 219, subsection (3) of this section applies rather than subsection (1), unless the court directs otherwise.