(CNN) A Trump-appointed federal judge decided Monday that President Donald Trump can't sue New York state officials in a Washington, DC, court at this time to stop the release of his tax returns to Congress.

The case is one of many where the President or his administration have asked federal judges to intervene before House Democrats obtain Trump's financial records.

Effectively, the ruling is a loss for Trump but a less significant one then the blows other courts have dealt him in cases involving Democrats' pursuits of his financial records. Courts have sided with the House multiple times in cases where its committees have subpoenaed Trump's financial records. Trump is still appealing those rulings, keeping the House subpoenas on hold.

If Trump wants to continue to challenge a New York state law that says Congress can request his state tax returns, he'll either need to wait for Congress to make the request or start over with a new lawsuit in a New York court, the judge, Carl Nichols of the federal district court in DC, said Monday.

"Mr. Trump may press his claims against the New York Defendants in this Court should future events support the exercise of personal jurisdiction over them, or he may opt to pursue those claims in an appropriate forum," Nichols wrote in his opinion, which dismissed Trump's lawsuit against the New York state officials. The judge is still considering whether Trump can sue the House Ways and Means Committee to stop it from requesting his returns under the state law.

Read More