A trademark war over the unlikely ground of Swedish pickled gherkins has sparked the European Court of Justice (ECJ) into a potentially important ruling, allowing the views of distributors to be taken into account in such cases.