I hate to disillusion you, but assaults on police officers are treated almost like a joke by courts. They are almost considered a lower level of assault presumably because officers should “expect” to be assaulted as part of the job. Just have a look at any police Twitter account for examples of measly sentencing - you’ll virtually never go inside for assaulting an officer.Not necessarily make them police officers but if you assault or strike a guard then it'll be treated as it would an assault on a police officer and a jail term. I don't know if this is the case or not but it'd make the guards more confident to know there's a genuine deterrant, rather than just a slap on the wrists for striking a guard for demanding you buy a ticket.
I’m a copper and when I was a uniformed PC, about 4 years ago, I nicked a bloke red handed burgling a pub. He kicked off in the street but had calmed down by the time I got him to custody. He then, out of nowhere, swung a punch and hit me square in he face. (It was a “proper” assault rather than him knocking
Me during a struggle). He had numerous convictions for burglary. He got a suspended sentence for the burglary, and no extra punishment for assaulting me!
With sentencing like that you might as well take it out in the copper to make yourself feel better when nicked!