A military or police officer stands by as people pass in a public square.
A group of people are eating at a restaurant.
If people are eating, they are stationary, and do not pass things.  A public square is not inside a restaurant.
(-x)
(-x)