And the SCOTUS has already ruled that a cop cannot make you wait for a drug dog without probable cause (Rodriguez v. United States 2015). So in your scenario you've got a cop who is willing to break the law, and in that case all bets are off.
Given how rarely police blow the whistle on other police, I’d say there’s evidence that the majority are actively unlawful.