There is no question that officers and command personal OVER stepped the limits.
Many times it is not so much "what you do" as "how you do it".
Cases and point: Few years ago I am walking past Sunridge Mall ( Calgary ) to catching the train downtown to go fishing with my daughter and the grandkids. I have a backpack tackle box and a rod case( double rod case).
As I am half way across to the train station a Calgary police car pulls to a stop in front of me, and the officer jumps out and says "Give me your backpack and case then get in the car now!". I ask what the reason for the random stop and illegal search was. The officer told me that she saw me walking through the packing lot and had to stop because of public safety.
Now the second officer asks "What is in the case?" Two fishing rods say I "oh can I see them?"
Showed the rods to the second officer, she says thanks " You have a knife in your backpack?" Yes a filleting knife. "Ok so where you going?" Down to the Elbow to do some fishing. A couple question I was on my way.
First officer exceeded the limit of her powers, and was in fact arresting me.
Second officer investigated and decided there was no crime.