A Guarantor shall automatically be released from its obligations hereunder (other than with respect to amounts then due and payable by such Guarantor) upon the consummation of any transaction permitted by the Master Lease, the result of which is that such Guarantor ceases to be a Subsidiary of the Tenant; provided that the Landlord shall have consented to such transaction to the extent such consent is required by the terms of the Master Lease; and provided further that a Change in Control (and any transaction related thereto) shall not be deemed to be permitted by the Master Lease without Landlord consent except to the extent any actual or deemed assignment under the Master Lease relating to such Change in Control is permitted under the Master Lease; and provided further that no release of such Guarantor shall be permitted or occur in a Foreclosure COC or a Foreclosure Assignment.