Here is the dilemma for the average citizen. We are led to believe that an officer has authority to do as he wishes in a roadside stop. There have been extremists who filmed themselves resisting officers, sometimes lawfully, on the roadside who ended up with greater problems as a result.
There is no training in schools about the real meaning of the Bill of Rights and how those individual rights play out in daily life. I'd bet that less than 5% of the parents ever go into individual rights with their children to that level. I freely admit that I didn't. Thankfully, both of my kids figured it out - one dispatched for the police for 7 years and knows the finer parts of the laws better than I do and the other is a quiet but independent type who respects but doesn't always trust law enforcement.
Through much of my own life, I would have agreed to a search because I didn't realize that I had a choice and it was a matter of doing it the easy way (cooperating) or the hard way (ending up in bracelets.) I'm betting that I'm not alone. Today, I'm much different. I'm respectful but firm and am willing to let things play out as they will.