Trying to focus all the blame on the cops and cover for the ground crew and management. I’ll presume at this point that the pilots weren’t innocent, either.
I think some low level local manager is the source for the cops being called.................who will probably be terminated...................
Once on the plane, the pilot has the final say. The remaining flight crew can notify the pilot of a situation, but it is the pilots decision on removal and calling security.