It's also a very tiny edge case that someone is trying to gain improper or unlawful entry to a workplace. It's not my job to put myself at risk in order to stop an intruder. It's not my job to play policy police with my co-workers, either.
My employer recognizes this and uses mantraps to physically prevent tailgating at unguarded entries.