Did the UK raise the requirement to register SIM cards?

I understand that for some years there has been an EU regulation that requires the proper identification of the owner of a SIM card before its activation. That is to say. In Germany, for example, one has to show an identification card to the supplier when he buys in a store or uses a video identification system to identify him.

So I was very surprised when I recently bought a SIM card in the UK that "just worked", that is, I put it on my phone and I was able to make and receive calls. Nobody even asked me for my name.

Was that regulation loosened? Is it only the United Kingdom or also other EU countries?