And cops get away with harassing people all the time. The US courts have been doing an abysmal job of protecting the citizenry from police abuse. (E.g. qualified immunity.)
The thing that has been to some extent reversing that trend is cheap and ubiquitous video cameras.
What if the body cam happened to be off, glitchy, or data was just lost on happenstance? What if even if the arrest was unlawful the victim already lost their job?
It does affect you if the police can force you turn off your camera, or if they can later claim in court that video evidence of their transgressions were illegally obtained, and thus inadmissible.
It should be very clear from an officer's body cam whether the recording party is within 8 feet. That's a basic personal space amount of distance.