Conversely, if you actually do get attacked in London, you better be real careful to not accidentally hurt your attacker:
"There are products which squirt a relatively safe, brightly coloured dye (as opposed to a pepper spray). A properly designed product of this nature, used in the way it is intended, should not be able to cause an injury. However, if injury does occur, this may be assault. ... The only fully legal self defence product at the moment is a rape alarm. "
The way UK defines "offensive weapon", literally anything is one if you have intent to use it against somebody, even in self-defense:
"any article made or adapted for use for causing injury to the person, or intended by the person having it with him for such use by him or by some other person ... even if they have some other legitimate use e.g. car keys held between the knuckles"
It is illegal. It probably does sound insane if you believe that carrying weapons can improve safety and not simply escalate violence. To me it’s a pretty sound policy.
"There are products which squirt a relatively safe, brightly coloured dye (as opposed to a pepper spray). A properly designed product of this nature, used in the way it is intended, should not be able to cause an injury. However, if injury does occur, this may be assault. ... The only fully legal self defence product at the moment is a rape alarm. "
(https://www.askthe.police.uk/content/Q589.htm)