What had he done wrong? Stupid, yes wrong/illegal(with the way the law is and that's good), he just had guns visible in his vehicle?
I like to take the guns first, go through due process second!
It sounds like the initial encounter went how it should have.