The U.S. District Court for the District of Columbia has dismissed two more lawsuits challenging a national security exemption from the Endangered Species Act for oil and gas activities in the Gulf of America, the Justice Department said Monday. The court ruled on one case Friday and the other Monday. In both, it ruled that challenges to the exemption can go only to the federal appeals courts.

According to the Justice Department, the rulings mean the court has now dismissed each of the three lawsuits against the exemption that it had received. The first was dismissed Nov. 16. The exemption remains in effect.

In the case decided Friday, the plaintiff argued it could sue in district court because the Endangered Species Committee had not followed required procedures, the department said. The court rejected that argument. It held that such objections go to the merits of the exemption, which only an appeals court can review.

The court further ruled that the national security finding by the Secretary of War does not count as a final agency action, meaning a step that would directly affect the plaintiff by itself. “It is the Committee who grants the exemption,” the court wrote, according to the release. It dismissed the plaintiff’s claims over the Committee’s records and its meeting, reasoning that those decisions are folded into the exemption.

In the Monday case, a coalition of environmental groups contended that the national security provision of the Endangered Species Act sets up its own category of exemption, one that a district court could review. The court did not accept that. It said the provision shapes the outcome of the Committee’s decision but does not establish a different kind of exemption. The court further ruled that the groups could not sidestep the appeals courts by arguing that the Committee exceeded its legal authority.

The plaintiff in Friday’s case first sued in early March and asked for emergency relief to stop the Committee from meeting to vote on an exemption. The court denied that request. On March 31, the Committee voted unanimously to exempt Gulf of America oil and gas activities from the Act’s requirements, based on a finding by the Secretary of War that national security required it. The Justice Department has described it as the first national security exemption issued under the Act.

Principal Deputy Assistant Attorney General Adam Gustafson of the department’s Energy and Natural Resources Division called the dismissals “a victory for energy security and national security.” Attorneys in the division’s Wildlife and Marine Resources Section handled the cases.

The release did not name the plaintiffs in the two newest cases. It also did not say whether any of them plans to appeal or to bring a challenge in a court of appeals.