Enforcement Act of the Part of Obligations of the Civil Code Article 24

The validity of a lease contract which was made before the coming into force of the Part of Obligations of the Civil Code shall be in accordance with the provisions of the Part of Obligations of the Civil Code. If the period of the lease mentioned in the preceding paragraph is fixed in the contract, such period shall be followed. But if the remainder of the period, reckoning from the date of the coming into force of the Part of Obligations of the Civil Code is longer than that provided by Article 449 of the Civil Code, the provisions of Article 449 of the Civil Code shall be applied as from the date of their coming force.
中文原文 民法債編施行法第24條
民法債編施行前所定之租賃契約,於施行後其效力依民法債編之規定。
前項契約,訂有期限者,依其期限,但其殘餘期限,自施行日起算,較民法第四百四十九條所規定之期限為長者,應自施行日起,適用民法第四百四十九條之規定。

English translation for reference only; the Chinese text prevails. Not legal advice.