(D) Rebuttable presumption For purposes of any action brought under this paragraph, there is a rebuttable presumption that an adverse State action or a violation of the right protected under section 479C(b) was because of the affirmation of a child’s sex if—
(i) a case record, report, petition, recommendation, or other agency or court document includes the affirmation of the child’s sex as a basis for, contributing factor in, or concern related to the adverse State action; or
(ii) a recommendation, order, or agreement has been made that a child be removed from a parent, legal guardian, or caregiver and be placed in a foster family home, child-care institution, or other placement setting that—
(I) provides, permits, or encourages the child to undergo any sex-rejecting intervention; or
(II) without parental consent, uses pronouns or titles that do not correspond to the child’s sex.
(E) Rebuttal A covered entity bears the burden of rebutting the presumption described in subparagraph (D) by clear and convincing evidence that the affirmation of the child’s sex was not a factor in the adverse State action or violation of the rights protected under section 479C(b).
(F) Nonapplication of exhaustion of remedies Exhaustion of any State or administrative remedies shall not be required as a condition of bringing an action described in subparagraph (B).
(i) In general As a condition of accepting funds under this part, each of the remedies described in clause (ii) is available to a prevailing parent, legal guardian, caregiver, foster parent, prospective foster parent, prospective adoptive parent, or child in an action brought under this paragraph.
(ii) Remedies The remedies described in this clause are—
(I) declaratory relief;
(II) preliminary and permanent injunctive relief, including an order enjoining, vacating, or prohibiting the enforcement of any adverse State action or any violation of the right protected under section 479C(b), notwithstanding section 2283 of title 28, United States Code, except where the covered entity demonstrates by clear and convincing evidence that such relief would create an imminent risk of serious physical harm to the child based on conduct independent of the adverse State action or violation;
(III) compensatory damages; and
(IV) damages for emotional distress suffered by a parent, legal guardian, caregiver, foster parent, prospective foster parent, prospective adoptive parent, or child.
(G) Relief
(H) Costs and attorney’s fees In any action brought under this paragraph, the court shall award the prevailing parent, legal guardian, caregiver, foster parent, prospective foster parent, prospective adoptive parent, or child costs of litigation and attorney’s fees.