A federal judge halted the Trump administration from detaining an accused British censorship advocate after they issued sanctions on him.