https://professional-electrician.com/technical/socket-outlets-shavers/
"Neither the rated supply voltage nor rated output voltage of a
shaver supply may exceed 250 V a.c. The no-load output voltage is
not to exceed 275 V and the difference between the no-load output voltage
and the output voltage under load shall not exceed 20 % of the
load output voltage.
For example, a no-load voltage of 275 V and an output load voltage
of 230 V would lead to percentage variance approaching 20 %. The output
voltamperes must be not less than 20 VA and not more than 50 VA.
The transformer of a shaver supply unit is an isolating transformer,
intended to provide protection against electric shock by ‘electrical separation’.
The transformer is of the short-circuit proof type (either inherently or noninherently).
A thermal cut-out is provided in a shaver supply unit to limit the
temperature of the transformer under conditions of short-circuit or overload.
The cut-out may be of either the self-resetting type or the manually resetting type.
"
In other words, a box of squirrels rather than a regular take-no-prisoners transformer.
They may have played with the Core Saturation characteristic or something.
https://www.allaboutcircuits.com/textbook/alternating-current/chpt-9/practical-considerations-transformers/
Core Saturation
Examination with a battery-operated oscilloscope may indicate
just how screwed-up the waveform is. Normally, you would not
want harmonic content in the output waveform, because other
motors or transformers would not like that. Who knows what
the shaver looks like as a load... Maybe another box of
squirrels is involved.
Paul