A transferee of the reversion in leased property or of the rent has the same remedies by entry, action, or otherwise for nonperformance of any condition or agreement contained in the lease, as the original landlord would have had if the reversion or rent had remained in the original landlord. A transferee of the reversion in leased property is subject to the same remedies, by action or otherwise, for nonperformance of any agreement contained in the lease, as the original landlord. This section applies to any transferee of a reversion in leased property, by voluntary grant or operation of law.