Washington CNN  — 

A federal judge expressed doubt Friday he could stop the upcoming publication of the book by former national security adviser John Bolton.

“The horse, as we used to say in Texas, seems to be out of the barn,” Judge Royce Lamberth of the DC District Court, said during a hearing Friday. “It certainly looks difficult to me about what I can do about those books all over the country.”

Lamberth didn’t make a decision at the almost two-hour hearing on Friday and said he will wait to review more details from the Justice Department before deciding. Bolton’s book is scheduled to be released Tuesday. It’s possible Lamberth doesn’t resolve the court fight before then.

The court fight over Bolton’s book has turned the former national security adviser’s skirmish with President Donald Trump into a symbolic fight over freedom of speech and the press. It is also allowing Bolton to push for an outside referee over whether the White House’s national security decision-making was proper, or done to protect Trump politically in an election year.

Lamberth said he will consider how the Trump administration determined parts of Bolton’s book should be classified after extensive reviews of the book.

“Did the President instruct any intelligence officials to make portions of the book classified?” the judge asked Justice Department attorney David Morrell.

“I have not spoken to the President. I’m not aware of that,” Morrell said.

Morrell explained that there are three examples of passages in Bolton’s book that were classified by others in the administration after he went through several rounds of reviews with the National Security Council reviewer Ellen Knight.

The Trump administration wants to stop the book from being released publicly next Tuesday and to claw back Bolton’s earnings from its publication. The Justice Department has argued that Bolton didn’t receive formal approval to publish the book, in breach of his contract with the federal government, and that the book still contains classified details that could cause “grave” harm to American national security.

The judge’s questions about how the White House determined it had classified material in the latest draft may be key to learning if the White House improperly used national security concerns to shield the President, as Bolton has alleged. Bolton has suggested the White House retroactively classified details in the book in an improper way.

“How do I decide these types of people [in the administration] are telling the truth that the republic is going to crumble? As a court, how do I deal with that?,” Lamberth asked.

Bolton has said he worked extensively with Knight for months to make sure no classified details were revealed in his manuscript. Knight told him there were none left in his draft earlier this spring, but then, the Justice Department has said it found more, and determined it should classify additional details in the book.

“I don’t have an affidavit from [Knight] so I don’t know too much about her,” Lamberth said, pointing out how the Justice Department sent the court sworn statements about classified details in the book from several other administration officials, but not Bolton’s primary reviewer.

“I’m glad you noticed that,” said Bolton’s attorney, Charles Cooper.

Cooper has also mentioned in court how Trump has said that all conversations he had with Bolton should be classified, and thus remain confidential.

Lamberth also grilled Cooper on how Bolton ended his review process and pushed his book to publication.

He “walked away” from the review process, Lamberth said, asking why Bolton hadn’t sued when the book’s review dragged on.

The judge has pointed out that Bolton didn’t wait for an official letter from the administration clearing him to publish.

First amendment issues

On Wednesday, several major news organizations, including CNN, obtained copies of the book and published articles about Bolton’s revelations on Trump’s behavior, such as the President’s encouragement of foreign leaders to help him in the 2020 election.

Free speech groups and publishers – including the ACLU, Knight First Amendment Center, Pen America, book publishers, Dow Jones & Co., The Washington Post and The New York Times – have condemned the Justice Department’s approach in the case and supported Bolton publishing the book, according to legal arguments the groups have filed over the past day.

They have warned that if the Trump administration were to block the book’s release, it would undermine decades of free speech precedent, including the landmark Supreme Court decision to allow newspapers to publish the classified material in the Pentagon Papers about the Vietnam War.

This story has been updated with additional details of Friday’s hearing.

CNN’s Angie Trindade contributed to this report.