Do note there are similar practices in many (all?) countries. Recently there was one case in Finland where job posting was extremely specific saying "We require, and by that we mean require, not recommend, experience in Leader and EU funding as well at least 14 years and 5 months of relevant experience". Their CEO admitted publicly that it was just done due to them being to public funding and that requires job postings to published. One of the articles (in Finnish): https://www.hs.fi/alueet/art-2000012282918.html
I recently saw the job posting in Finland (Suunto, I believe) that had diving experience as an imperative requirement for an embedded software engineer role. I've applied and never heard back. HR contact that they posted also never replied. The job was closed a couple weeks after. I never even got a rejection email.
So yeah, everyone do that, that's kind of the de facto way of hiring specific people when there is a requirement to post jobs. That doesn't make it ok though.