Lawyer here! I can tell you authoritatively that police officers are not supposed to shoot people for "breaking the law". Aside from that, police officers have in the past stopped, detained or arrested people who were not, as it turned out, actually breaking any laws, because sometimes that happens.