Those, especially the toothbrush, need to be more water resistant. Electric teethbrush should be entirely waterproof, and I don't think USB-C can do that.
I have seen toothbrushes with USB-C, they just connect to the docking station. Which makes sense IMO, you wouldn't want to plug and unplug your toothbrush every time you want to use it.
I wonder, would this law also cover if, say, the company manufacturing the toothbrush decided not to supply a power cord with the dock, and just stuck some proprietary cable port on it (not even a DC barrel jack or anything like that)?
IIRC, all new small electronics sold in EU should support USB-C, but there are some exceptions, which I don't remember. Mostly it was for wirelessly charging devices, like smartwatches and earbuds.
Btw, does your username have anything to do with the capital of Azerbaijan?