165 According to settled case-law, that principle requires that acts of the EU institutions be appropriate for attaining the legitimate objectives pursued by the legislation at issue and do not exceed the limits of what is necessary in order to achieve those objectives; when there is a choice between several appropriate measures, recourse must be had to the least onerous, and the disadvantages caused must not be disproportionate to the aims pursued (see, to that effect, judgments in British American Tobacco (Investments) and Imperial Tobacco, C‐491/01, EU:C:2002:741, paragraph 122; ERG and Others, C‐379/08 and C‐380/08, EU:C:2010:127, paragraph 86; and Gauweiler and Others, C‐62/14, EU:C:2015:400, paragraphs 67 and 91).
165 I enlighet med domstolens praxis innebär proportionalitetsprincipen att unionsinstitutionerna i sitt handlande ska säkerställa att de legitima mål som eftersträvas i den berörda lagstiftningen uppnås och att unionsinstitutionerna inte får gå utöver vad som är nödvändigt för att uppnå dessa mål. När det finns flera ändamålsenliga åtgärder att välja mellan ska den åtgärd väljas som är minst ingripande och de vållade olägenheterna får inte vara orimliga i förhållande till de eftersträvade målen (se, för ett liknande resonemang, dom British American Tobacco (Investments) och Imperial Tobacco, C‐491/01, EU:C:2002:741, punkt 122, dom ERG m.fl., C‐379/08 och C‐380/08, EU:C:2010:127, punkt 86, och dom Gauweiler m.fl., C‐62/14, EU:C:2015:400, punkterna 67 och 91).EurLex-2 EurLex-2