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 Wednesday tweeted that the section of his proposed border wall approved Tuesday by a federal judge will not be built until the remainder of the planned wall is approved.

Trump said on Twitter that "sections of the Wall that California wants built NOW," apparently referring to the section of the wall that was approved Tuesday against the wishes of the state of California "will not be built until the whole Wall is approved."

"I have decided that sections of the Wall that California wants built NOW will not be built until the whole Wall is approved. Big victory yesterday with ruling from the courts that allows us to proceed. OUR COUNTRY MUST HAVE BORDER SECURITY!" Trump said.

I have decided that sections of the Wall that California wants built NOW will not be built until the whole Wall is approved. Big victory yesterday with ruling from the courts that allows us to proceed. OUR COUNTRY MUST HAVE BORDER SECURITY! — Donald J. Trump (@realDonaldTrump) February 28, 2018

Judge Gonzalo Curiel, whom Trump once famously attacked for his Mexican-American heritage, ruled Tuesday that the Department of Homeland Security could waive environmental restrictions in building a section of the wall in California due to 14 miles of existing fencing no longer being "optimal" for border protection.

ADVERTISEMENT

Trump's statement that the state of California "wants" the wall built seemingly flies in the face of statements from California's leaders, including Attorney General Xavier Becerra Xavier BecerraOVERNIGHT ENERGY: Trump casts doubt on climate change science during briefing on wildfires | Biden attacks Trump's climate record amid Western wildfires, lays out his plan | 20 states sue EPA over methane emissions standards rollback 20 states sue EPA over methane emissions standards rollback Investigation underway after bags of mail found dumped in Los Angeles-area parking lot MORE, who vowed to keep fighting the Trump administration in court over immigration and border security issues.

“We will evaluate all of our options and are prepared to do what is necessary to protect our people, our values, and our economy from federal overreach,” Becerra said. “A medieval wall along the U.S.-Mexico border simply does not belong in the 21st century.”

Environmental groups who were involved in the lawsuit also attacked the decision, calling the Trump administration's waiving of environmental statutes "unconstitutional."

"The Trump administration has completely overreached its authority in its rush to build this destructive, senseless wall," wrote Brian Segee of the Center for Biological Diversity. "They’re giving unprecedented, sweeping power to an unelected agency chief to ignore dozens of laws and crash through hundreds of miles of spectacular borderlands."

The lawsuit, filed by the state of California last year, argued that the department had improperly waived the National Environmental Policy Act and other immigration and environmental rules to speed up the construction of the wall.