If you replace a soldier with a machine, you take away the possibility of the soldier or the policeman to not do something the state asks of him. He may think it’s unethical to do it. A machine doesn’t have that critical perspective.