; and (B) the parties to the 2016 Klamath Power and Facilities Agreement and the parties to the Klamath Hydroelectric Settlement Agreement have completed and approved the agreement or agreements contemplated by section III.C. of the 2016 Klamath Power and Facilities Agreement and Section 1.9 of the Klamath Hydroelectric Settlement Agreement. (3) Draft certification Not less than 180 days before providing a certification under paragraph (2), the Secretary shall provide a draft certification to the parties to the respective agreements. (4) Replacement of c canal flume (A) In general The replacement of the C Canal flume within the Klamath Project shall be considered to be, and shall receive the treatment authorized for, qualified emergency extraordinary operation and maintenance work in accordance with Federal reclamation law (the Act of June 17, 1902 (32 Stat. 388, chapter 1093), and Acts supplemental to and amendatory of that Act ( 43 U.S.C. 371 et seq. )). (B) Contract (i) In general Not later than 180 days after the date of receipt of a request from the Klamath Irrigation District to enter into a contract with that district to amend the contract numbered 16–WC–20–4838, the Secretary shall enter into a contract with the Klamath Irrigation District providing that under the contract entered into under this subparagraph— (I) 35 percent of the total repayment obligation is nonreimbursable to the United States