May I legally plug a EU device to a UK socket without an adapter?

enter image description here

Taken from this video.

During short stays where the risk of a fire is negligible, am I permitted to plug my European devices without an adapter in the UK?