In France there is little chance that sockets would be removed as they already exist, so education is the only real way forward there.
Here we are debating if we should add sockets to bathrooms, and if we did we then would be facing the French dilemma of how to keep them from causing avoidable death/injury.
As I said before ultimately this is a political decision, not an engineering one, as it comes down to the question of convenience for bathroom sockets versus consequences of them being present.
And it is not about what you or I might want a socket for, it is about what other would do should it be present. For example, it would never occur to me to use a phone/laptop in a bath (even on battery mode), but obviously other do as sadly that French article on electrocution revealed. Similarly I would not fit a washing machine or dishwasher in a bathroom, but given a socket and water facilities that would happen pronto!