(1) When the object of a lease of land is to own a building, if a building on such land has been registered by the lessee, the lease of land shall be effective against a third person even if such a lease of land has not been registered.
(2) If a building has been destroyed or has become dilapidated from use prior to the termination of the lease period, it shall lose the effect mentioned in paragraph (1).