This section applies where, at a time when a duty imposed on the landlord or a superior landlord by or by virtue of any of sections 21 to 23 remains to be discharged by him, he disposes of the whole or part of his interest as landlord or superior landlord to another person.
If the landlord or superior landlord is, despite the disposal, still in a position to discharge the duty to any extent, he remains responsible for discharging it to that extent.
If the other person is in a position to discharge the duty to any extent, he is responsible for discharging it to that extent.
Where the other person is responsible for discharging the duty to any extent (whether or not the landlord or superior landlord is also responsible for discharging it to that or any other extent)—