The legal system is largely to protect criminals from "extra-legal" law enforcement by wronged parties. When the legal system can't function properly, for whatever reason, it is criminals who are ultimately in the most danger.
In the US, if police are given stand-down orders during mostly peaceful lootings and riots then a lot of looters are going to get shot.