Probably when they came in with weapons -in hand-, not slung or holstered, and said "This is a robbery!" Context matters. As does precision in thought and the use of reason, not emotionalism.

When do people realize a cop is there to arrest them? When a cop appears, or when the cop says "You are under arrest." Context matters.