He was acting as a deterrent, the manager was the one who then let him in.
I completely understand it's difficult, but so is every job just now. Tell them they aren't getting in, leave them with security, if they then try to go in again, get security to call the police.
From reading OP's post, it sounds like they could have handled this much better.