Any action under subsection (a)(1) shall be brought in the district court for the district in which the alleged violation occurred.
The district court shall have jurisdiction in actions brought under subsection (a)(1) to enforce the standard, regulation, condition, requirement, or order concerned (including any provision of an agreement under section 9620 of this title), to order such action as may be necessary to correct the violation, and to impose any civil penalty provided for the violation. The district court shall have jurisdiction in actions brought under subsection (a)(2) to order the President or other officer to perform the act or duty concerned.
No action may be commenced under paragraph (1) of subsection (a) if the President has commenced and is diligently prosecuting an action under this chapter, or under the Solid Waste Disposal Act [42 U.S.C. 6901 et seq.] to require compliance with the standard, regulation, condition, requirement, or order concerned (including any provision of an agreement under section 9620 of this title).
No action may be commenced under paragraph (2) of subsection (a) before the 60th day following the date on which the plaintiff gives notice to the Administrator or other department, agency, or instrumentality that the plaintiff will commence such action. Notice under this subsection shall be given in such manner as the President shall prescribe by regulation.
The court, in issuing any final order in any action brought pursuant to this section, may award costs of litigation (including reasonable attorney and expert witness fees) to the prevailing or the substantially prevailing party whenever the court determines such an award is appropriate. The court may, if a temporary restraining order or preliminary injunction is sought, require the filing of a bond or equivalent security in accordance with the Federal Rules of Civil Procedure.
In any action under this section, the United States or the State, or both, if not a party may intervene as a matter of right. For other provisions regarding intervention, see section 9613 of this title.
The terms used in this section shall have the same meanings as when used in subchapter I.