; 118 Stat. 712) is amended by striking the item relating to section 207 and inserting the following: Sec. 207. Continuing education requirements for insurance agents. . 412. Shifting of attorney fees and other expenses Section 1341 of the National Flood Insurance Act of 1968 ( 42 U.S.C. 4072 ), as amended by section 404(c), is amended by adding at the end the following: (d) Attorney fees and other expenses A Write Your Own Company against which an action is instituted under this subsection shall be considered an agency of the United States for the purposes of section 2412(d) of title 28, United States Code. . 413. DOJ defense against policyholder lawsuits Subsection (b) of section 1341 of the National Flood Insurance Act of 1968 ( 42 U.S.C. 4072 ), as added by section 404(c), is amended by adding at the end the following: (2) Representation by Department of Justice If a claimant institutes an action under this section— (A) the Administrator shall refer the matter to the Attorney General; and (B) the Attorney General— (i) shall represent the Administrator or the Write Your Own company, as applicable, in the action; and (ii) may not seek to have the court dismiss an action with potentially meritorious claims based on good faith errors or omissions by the claimant in the claimant's proof of loss. . 414. Reforming use of proof of loss forms (a) In general Section 1312 of the National Flood Insurance Act of 1968 ( 42 U.S.C. 4019 ), as amended by section 409, is amended by inserting after subsection (i) the following: (j) No condition of payment of undisputed claim on proof of loss (1) In general Notwithstanding any other provision of law, or any term or condition of a standard flood insurance policy, the Administrator— (A) may not condition payment of an undisputed claim based on the submission of a proof of loss