A federal judge on Tuesday issued a permanent injunction barring President Donald Trump’s attempt to transfer $3.6 billion in military construction funds to build a wall on the US-Mexico border.