Trump achieves judicial victory to prevent refugees from entering