; or (C) the personnel action was required by statute or an order from a court of competent jurisdiction. . (b) Applicability to detailees Subsection (a) of section 1104 of such Act ( 50 U.S.C. 3234 ) is amended by adding at the end the following: (5) Employee The term employee , with respect to an agency or a covered intelligence community element, includes an individual who has been detailed to such agency or covered intelligence community element. . (c) Private right of action for unlawful disclosure of whistleblower identity Subsection (g) of such section, as redesignated by subsection (a)(2) of this section, is amended to read as follows: (g) Enforcement (1) In general Except as otherwise provided in this subsection, the President shall provide for the enforcement of this section. (2) Harmonization with other enforcement To the fullest extent possible, the President shall provide for enforcement of this section in a manner that is consistent with the enforcement of section 2302(b)(8) of title 5, United States Code, especially with respect to policies and procedures used to adjudicate alleged violations of such section. (3) Private right of action for disclosures of whistleblower identity in violation of prohibition against reprisals Subject to paragraph (4), in a case in which an employee of an agency takes a personnel action described in subsection (a)(3)(J) against an employee of a covered intelligence community element as a reprisal in violation of subsection (b) or in a case in which an employee or contractor employee takes a personnel action described in subsection (a)(3)(J) against another contractor employee as a reprisal in violation of subsection (c), the employee or contractor employee against whom the personnel action was taken may, consistent with section 1221 of title 5, United States Code, bring a private action for all appropriate remedies, including injunctive relief and compensatory and punitive damages, in an amount not to exceed $250,000, against the agency of the employee or contracting