Judge blocks deportations under wartime law