The European Court of Justice has ruled that Marks and Spencer was wrongly made to pay Value Added Tax of GBP3.5bn (US$6.91bn) on chocolate teacakes over a 20-year period.