German sporting goods firm Puma will challenge a ruling that allows it to buy its own trademark rights in Spain back for EUR98m (US$120.4m).