Stupid
I remember doing this at school all the time with my camera. It's just that the flash charges up in a buffer and if you touch a certain bit inside it discharges into your hand.
Doesn't "immobilize" in any way, and is probably much weaker than an electric fence that you are legally allowed to have around any property you own.
Another overreaction by the left wingers in the country.