The U.S. Court of Appeals for the Ninth Circuit, a frequent target of President Donald Trump’s barbs over alleged bias against the president, sided with the administration Monday in a ruling greenlighting construction of a prototype wall and repairs to existing barriers along the California-Mexico border.

The Trump administration notched a 2-1 decision upholding U.S. District Judge Gonzalo Curiel’s order finding the Department of Homeland Security did not exceed its authority by waiving environmental laws to expedite construction of a prototype wall in San Diego and replacing 14 miles of existing “fencing” near San Diego.