The Officer was out of line.
The question is do you want to become a target for enforcement actions.
Local LEOs especially Sheriff Departments can make your life a nightmare if they want to.
I know this from personnal experience.
In a relatively rural county you have little recourse.
And this is the fundamental flaw in our current LE system in America. LE's run in a network above the law. That power can make us maginally safer or lead to the corruption we hear about regularly.
This said, I do highly respect the individual LEO's who do this relatively thankless jobs daily within the law. They should be commended for living under the law. I just wish the brotherhood part was not so strong that many look the other way in an unjustified arrest, harassing or shooting.