Code of Civil Procedure § 1265.160
ARTICLE 2. Leases
Nothing in this article affects or impairs the rights and obligations of the parties to a lease to the extent that the lease provides for such rights and obligations in the event of the acquisition of all or a portion of the property for public use.