(CNN) The White House has won a lawsuit over President Donald Trump's lack of having written records of his conversations with Russian President Vladimir Putin, because the federal judges in Washington are powerless to make sure the President complies with record-keeping laws on a daily basis.

Judge Amy Berman Jackson of the DC District Court dismissed the lawsuit, saying judges in Washington don't have the authority to oversee the President's day-to-day actions.

"The law is clear that the Court cannot order the President to perform discretionary duties," the judge noted.

"A district judge must steer clear of efforts to supervise day-to-day operations within the White House ... even when a complaint presents legitimate concerns about an ongoing practice that threatens the preservation of, and public access to, presidential records," Jackson wrote on Monday.

Historian and archivist groups and the left-leaning government transparency group Citizens for Responsibility and Ethics had sued Trump and the White House in May, alleging that Trump hadn't properly created, preserved or disposed of records of meetings with foreign leaders.

Read More