It's important to note that the officer is not just telling them "not to come any closer" but warns them to "stand down" and "disperse". This is a common tactic used by law enforcement to try and de-escalate a dangerous situation.
The scene emphasizes the futility of the police's attempts to stop the two powerful figures, highlighting the chaos and desperation in Gotham.