This excerpt taken from the PPL 10-K filed Mar 1, 2005.
Mandatory prepayment - illegality
(kk) A Lender must notify the Company promptly if it becomes aware that it is unlawful in any jurisdiction for that Lender to perform any of its obligations under a Finance Document or to fund or maintain its share in any Loan.
(ll) After notification under paragraph (a) above:
(i) the Company must repay or prepay the share of that Lender in each Loan made to it on the date specified in paragraph (c) below; and
(ii) the Commitments of that Lender will be immediately cancelled.
(mm) The date for repayment or prepayment of a Lender's share in a Loan will be:
(i) the Business Day following receipt by the Company of notice from the Lender under paragraph (a) above; or
(ii) if later, the latest date allowed by the relevant law.