75In that regard, the Court has already held that, in the petroleum, telecommunications and energy sectors, the objective of ensuring the security of supply of such products or the provision of such services, in the event of a crisis, on the territory of the Member State concerned, may constitute a ground of public security. However, the same is not true as regards the security of supply of basic raw materials at local level in the construction sector, which cannot fall within the legitimate objective of ensuring public security, unless it is demonstrated that the shortage of such raw materials constitutes a genuine and sufficiently serious threat affecting a fundamental interest of society (see, to that effect, judgment of 13 July 2023, Xella Magyarország, C‑106/22, EU:C:2023:568, paragraphs 68 and 69).