The drug is still facing restrictions and will likely head to the Supreme Court.