A federal judge tore into President Trump Donald John TrumpBiden leads Trump by 36 points nationally among Latinos: poll Trump dismisses climate change role in fires, says Newsom needs to manage forest better Jimmy Kimmel hits Trump for rallies while hosting Emmy Awards MORE when hearing a case regarding the administration's decision to end the Deferred Action for Childhood Arrivals (DACA) program.

Judge Nicholas Garaufis on Tuesday ripped Trump's "recurring, redundant drumbeat of anti-Latino commentary," CNN reported.

"It's not just an ad hoc comment that was overheard on an open mic," Garaufis said in a Brooklyn courtroom.

ADVERTISEMENT

"It's not just that somebody at [Immigration and Naturalization Service] said something derogatory about Mexicans. This came from the top."

He added: "It's extreme; it's recurring. It's vicious."

DACA participants and 16 states are challenging the way the Trump administration decided to end the program. The administration is pushing to have the case dismissed, according to CNN.

During the hearing Tuesday, a lawyer for the state of Washington, Colleen Melody, asked if the "same outcome [would] have been reached if the group of affected young people had been children and young adults from Norway, instead of children and young adults primarily from Mexico?"

The lawyer appeared to be referring to Trump's reported comments earlier this month in which he called Haiti and African nations "shithole countries." During that meeting, Trump reportedly suggested the U.S. bring in more immigrants from countries like Norway.

"I just wish to point out," the judge said during the hearing, "that my observation was that most of people that I ran into in Norway when I was there were white." A spokesperson for the Department of Justice said after the hearing that "we remain confident in our argument that the Department of Homeland Security had the lawful authority to rescind DACA," according to CNN. It is not yet clear when the judge will rule on the case.

Earlier this month, a federal judge in San Francisco temporarily blocked the Trump administration from ending DACA.