Civil rights groups argued the law wasn’t meant for peacetime. The judge has halted deportations for 14 days while reviewing the case.