57In that regard, unless the aid was granted by an infra-State body with, at its level of competence, sufficient procedural and financial institutional autonomy or by a public undertaking establishing the conditions governing the use of its goods or services, the relevant reference framework is the national framework and the selectivity of a measure which, as here, benefits undertakings established in part of a Member State is assessed by comparison with the undertakings in that State. An advantage limited to undertakings established in part of a Member State may give rise to a selective measure, as it favours certain undertakings over others within that State (see, to that effect, judgments of 19 September 2000, Germany v Commission, C‑156/98, EU:C:2000:467, paragraph 23; of 6 September 2006, Portugal v Commission, C‑88/03, EU:C:2006:511, paragraphs 56 to 58; and of 21 December 2016, Commission v Hansestadt Lübeck, C‑524/14 P, EU:C:2016:971, paragraphs 60 to 66).