An obligation (however arising) to make a payment which would be in contravention of section 226B or 226C has no effect.
If a payment is made in contravention of section 226B or 226C—
If a payment for loss of office is made in contravention of section 226C to a director of a quoted company ... in connection with the transfer of the whole or any part of the undertaking or property of the company or a subsidiary of the company—
If a payment for loss of office is made in contravention of section 226C to a director of a quoted company ... in connection with a transfer of shares in the company, or in a subsidiary of the company, resulting from a takeover bid—
If in proceedings against a director for the enforcement of a liability under subsection (2)(b)—
the court may relieve the director, either wholly or in part, from liability on such terms as the court thinks fit.