Just to clarify, the money has already been deposited to a holding account awaiting this ruling. So Apple will not be paying over any money, they will not be getting the money refunded to them.
Might give a slight wobble in the stock price, but that's nothing unusual for AAPL at this time of year anyway.