; and (ii) punitive damages, as are necessary to deter future bad faith claim filing by the creditor. (B) A claim filed in bad faith includes a claim that is filed without an actual, reasonable, good faith belief that the debt on which it is based is within the applicable statutory limitations period. (C) Not more than 50 percent of the total amount of any punitive damages awarded to the estate under subparagraph (A) shall be reserved for the trustee, debtor, or both and shall be exempt from the property of the estate, notwithstanding section 522. (2) If a claim is disallowed under subsection (d), the court shall grant judgment against the creditor and in favor of the estate for costs and reasonable attorneys’ fees. (3) The estate may offset the liability of a creditor under this subsection against any distribution to be made on the claim of the creditor. . (2) Conforming amendments (A) Section 101 of title 11, United States Code, is amended in paragraph (12)(B), as redesignated by this section, by striking 502(f), 502(g), 502(h), or 502(i) and inserting subsection (g), (h), (i), or (j) of section 502 . (B) Section 501(d) of title 11, United States Code, is amended by striking in section 502(e)(2), 502(f), 502(g), 502(h), or 502(i) and inserting in subsection (f)(2), (g), (h), (i), or (j) of section 502 . (C) Section 503(b) of title 11, United States Code, is amended— (i) in the matter preceding paragraph (1), by striking section 502(f) and inserting section 502(g)