The competition watchdog has won permission to appeal in a case against Pfizer after a long-running legal battle over allegations of excessive pricing.