The EU’s second highest court says the tech giant will not have to pay a record sum in back taxes.