The cops ego is much larger than the dogs. A well trained handler can get a dog to alert falsely. Just a grunt or twitch on the leash can get a dog to alert. If the cop wants to search you he will get probable cause. After all if you were not dirty you wouldn't have been pulled over.