The same has been the case in the UK for at least the last 20 years with games requiring BBFC (British Board of Film Classification) or VSC (Video Standards Council) [0] ratings.
As of 27th July 2012 [1] UK enacted a Statutory Instrument "The Video Recordings (Labelling) Regulations 2012" [2] ...
> From today, it is a criminal offence to sell video games with a “12” rating to those younger than that age.
... manadated VSC as the sole organisation...
> The new law ends the dual system, gives legal backing to PEGI 12, 16 and 18 ratings and will result in clearer, unambiguous guidance about the suitability of games content for specific age groups.
... with responsibility for PEGI (Pan European Games Information)[3] ratings.
> PEGI provides age classifications for video games in 38 European countries. The age rating confirms that the game is appropriate for players of certain age. PEGI considers the age suitability of a game, not the level of difficulty.
[0] https://videostandards.org.uk/RatingBoard/about-history
[1] https://www.gov.uk/government/news/new-rules-to-better-prote...
[2] https://www.legislation.gov.uk/uksi/2012/1767/contents/made
[3] https://pegi.info/