(a) Civil Actions.— At the request of the Secretary of Transportation, the Attorney General may bring a civil action in a district court of the United States
(1) to enjoin a violation of, or to enforce, a railroad safety regulation prescribed or order issued by the Secretary;
(2) to collect a civil penalty imposed or an amount agreed on in compromise under section
21301 of this title; or
(3) to enforce a subpena issued by the Secretary under this chapter.
(b) Venue.—
(1) Except as provided in paragraph (2) of this subsection, a civil action under this section may be brought in the judicial district in which the violation occurred or the defendant has its principal executive office. If an action to collect a penalty is against an individual, the action also may be brought in the judicial district in which the individual resides.
(2) A civil action to enforce a subpena issued by the Secretary or a compliance order issued under section
20111 (b) of this title may be brought in the judicial district in which the defendant resides, does business, or is found.