Immigration ban could go to the Supreme Court