An adviser to the European Union's top court recommended it rule that a Spanish fuel tax breaches EU law, potentially obliging Spain to pay billions of euros in compensation to fuel consumers.