(1) This section applies where in connection with any such transfer as is mentioned in section 218 or 219 (payment in connection with transfer of undertaking, property or shares) a director of the company–-
(a) is to cease to hold office, or
(b) is to cease to be the holder of–-