39In that regard, as to the necessity of a restriction on the freedom to provide services such as that at issue in the main proceedings, it must be borne in mind that the severity of the penalty must be commensurate with the seriousness of the offence. In particular, the administrative or punitive measures permitted under national legislation must not go beyond what is necessary in order to attain the objectives legitimately pursued by that legislation (see, by analogy, judgment of 31 May 2018, Zheng, C‑190/17, EU:C:2018:357, paragraphs 41 and 42 and the case-law cited).
Source: EUR-Lex, © European Union, 1998-2026. Reuse authorised under Decision 2011/833/EU.