When a valid power of leasing is vested in or may be exercised by a person granting a lease, and such lease (by reason of the determination of the estate or interest of such person or otherwise) cannot have effect and continuance according to the terms thereof, independently of such power, such lease shall, for the purposes of this Part, be deemed to be granted in the intended exercise of such power, although such power is not referred to in such lease.