The primary winding of the transformer is ,on this job, connected directly to the ring main therefore it is protected by a 32A fuse/MCB . Anything plugged into the shaver only works from the induced voltage in the secondary winding which is earth free and only exists between the two plug pins , no potential difference between the pins and earth so no shock.
Imagine if the shaver was one of the cheapo Chinese specials with a pretend BS number , the varnishes on the windings have been shown to be inferior and could break down , which means the insulation between primary and secondary windings breaks down so instead of isolating the secondary safety output it puts a direct mains connection there.
The same as the imported ,counterfeight, phone and games chargers which have been known to put 240v into your cellphone etc.
If this happened ,would the 32A fuse blow ? Everything else that is actually plugged into the ring would have the appropriate fuse in it's plug top but the primary of the shaver won't.
Still , what do I know ? :C