They are installed properly and earth leakage devices have been mandatory since 1991. It seemed really odd to me that Brits didn't insist on reliable wiring and that charging of toothbrushes and shavers has to be done outside the bathroom.
We're allowed sockets outside the Safe Area (some official definition of what you're likely to reach with a limb immersed in a bath or sink, I think), though many British bathrooms are small enough that the whole room counts.
We're also allowed low-current sockets fed through an isolating transformer within the safe area: The two pin ones that tend to have "Shavers only" written on them in large friendly letters.
I'm not sure if an appropriately IP-rated socket (I'm thinking Ceeform, or one of those outdoor sockets that enclose the plug) would be permitted if you wanted to install a washing machine or something, but it would seem like a perfectly reasonable thing to do.
It's ridiculous when you look at what's normal and ordinary in kitchens. Put it out of splash range and require an RCD, sorted.