The district court shall have jurisdiction in actions brought under subsection (a)(1) of this section 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) of this section to order the President or other officer to perform the act or duty concerned.