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 on Tuesday night touted a "big legal win" after the judge he once attacked for his Mexican heritage ruled in favor of the administration in a lawsuit attempting to block Trump's proposed border wall.

"Big legal win today. U.S. judge sided with the Trump Administration and rejected the attempt to stop the government from building a great Border Wall on the Southern Border," Trump tweeted.

"Now this important project can go forward!"

Big legal win today. U.S. judge sided with the Trump Administration and rejected the attempt to stop the government from building a great Border Wall on the Southern Border. Now this important project can go forward! — Donald J. Trump (@realDonaldTrump) February 28, 2018

U.S. District Judge Gonzalo Curiel, whose parents immigrated from Mexico, ruled Tuesday against a legal challenge to the wall over environment waivers granted by the Department of Homeland Security.

ADVERTISEMENT

The ruling means the administration will be able to continue waiving the regulations to build barriers on the border.

In his ruling, Curiel wrote he did not have "serious constitutional doubts" about the administration's use of waivers.

“In its review of this case, the court cannot and does not consider whether underlying decisions to construct the border barriers are politically wise or prudent,” he said.

Trump targeted Curiel during the 2016 presidential race, claiming the judge might be biased against him in a lawsuit over Trump University because of Curiel's Mexican heritage.