A federal court on Friday refused to immediately dismiss a lawsuit accusing President Donald Trump of violating a constitutional anti-corruption provision by accepting foreign payments through his hotels and businesses without the permission of the U.S. Congress.

U.S. District Judge Emmet Sullivan in Washington said in a 58-page ruling that lawmakers who brought the suit had legal standing to sue the president for allegedly flouting the U.S. Constitution's "emoluments" clause, which prevents federal officeholders from accepting presents and other benefits from foreign governments without the "consent" of Congress.

The lawsuit, filed in June 2017, is the third constitutional challenge to Trump's business interests while in office, but it is notable because the plaintiffs are themselves members of Congress.