Mr. Acosta replied through his lawyers Sunday, objecting to the White House writing rules now, and then attempting to retroactively apply them to the reporter's behavior during a November 7 press conference.
The presiding judge said, in his ruling, that the decision by the White House "likely violated the journalist's right to due process and freedom of speech".
On Friday, Mr Trump said that "rules and regulations" were being drafted to govern news conferences, where the president or his representatives often accuse journalists - Mr Acosta in particular - of being overly hostile. "Jim Acosta and CNN will continue to report the news about the White House and the president".
The White House letter, seeking to address the question of due process, said Acosta "violated basic standards" of news events when he got into a heated exchange with President Donald Trump on November 7. It's signed by Bill Shine, deputy chief of staff for communications, and Sarah Sanders, White House press secretary, who are both named as defendants in the initial lawsuit.
Saunders also accused Acosta of not acting like an adult, and said that CNN should send another reporter as a result.
Ireland hold on to claim victory over All Blacks
I think they've got a top side out and we know they'll come after us in some areas, because they did last time. If you thought that Ireland had withstood an onslaught at the end: they could have held on for longer.
Many journalists have challenged the administration's actions against Acosta, pointing out that aggressive questioning is a tradition that dates back decades. But the White House wasted no time informing Acosta of a "preliminary decision" to suspend his pass after that period is up.
Acosta's lawyer called the ruling "a great day for the first amendment and journalism". The White House reminded the reporter that he would be stripped of his pass again when the injunction expires.
Trump seemed to shrug off the loss, telling Fox's Chris Wallace in an interview that "it's not a big deal".
"The White House's interaction with the press is, and generally should be, subject to a natural give-and-take", Sanders said. "We are mindful that a more elaborate and comprehensive set of rules might need to be devised, including, for example, for journalist conduct in the open (non-press room) areas inside and outside the White House and for Air Force One", she continued.
Asked what they would entail, he said: "We're going to write them up right now. we'll have rules of decorum, you know, you can't keep asking questions". Trump responded that he believed it was an invasion, telling Acosta, "Honestly, I think you should let me run the country".