22In that regard, it must be emphasised that the ground for refusal of registration set out in the first indent of Article 3(1)(e) of the trade marks directive cannot be applicable where the trade mark application relates to a shape of goods in which another element, such as a decorative or imaginative element, which is not inherent to the generic function of the goods, plays an important or essential role (see, to that effect, judgment in Lego Juris v OHIM, EU:C:2010:516, paragraphs 52 and 72).