costs of any investigation or litigation. (3) Exception for amounts paid or incurred as the result of certain court orders Paragraph (1) shall not apply to any amount paid or incurred by reason of any order of a court in a suit in which no government or governmental entity is a party. (4) Exception for taxes due Paragraph (1) shall not apply to any amount paid or incurred as taxes due. (5) Treatment of certain nongovernmental regulatory entities For purposes of this subsection, the following nongovernmental entities shall be treated as governmental entities: (A) Any nongovernmental entity which exercises self-regulatory powers (including imposing sanctions) in connection with a qualified board or exchange (as defined in section 1256(g)(7)). (B) To the extent provided in regulations, any nongovernmental entity which exercises self-regulatory powers (including imposing sanctions) as part of performing an essential governmental function. . (2) Effective Date The amendment made by this subsection shall apply to amounts paid or incurred on or after the date of the enactment of this Act, except that such amendments shall not apply to amounts paid or incurred under any binding order or agreement entered into before such date. Such exception shall not apply to an order or agreement requiring court approval unless the approval was obtained before such date. (b) Reporting of deductible amounts (1) In general Subpart B of part III of subchapter A of chapter 61 is amended by inserting after section 6050W the following new section: 6050X. Information with respect to certain fines, penalties, and other amounts (a) Requirement of reporting (1) In general The appropriate official of any government or any entity described in section 162(f)(5) which is involved in a suit or agreement described in paragraph (2) shall make a return in such form as determined by the Secretary setting forth— (A) the amount required to be paid as a result of the suit or agreement to which paragraph (1) of section 162(f) applies, (B) any amount