Spain can reclaim the financial benefits given to beneficiaries of a tax scheme that gave illegal state aid to purchasers of ships built in Spanish shipyards, the European Union’s General Court has ruled.