They are folks who have chosen perhaps by circumstances or situation, to use what general intelligence they have to figure out ways to go around a system they do not feel is on their side, somehow. Smart or dumb has everything to do with the world you want to function in. I am pretty smart in some places, would be really dumb in others. Same with the corrections system. Some people do better than others due to using what smarts they have to function in the world they live in. Not carrying a lot of drugs on your person, or a variety of them is basic 101. They learn it before they finish middle school.
But this OP is a stupid OP, because if he was very smart, whether or not it was convenient to him, he'd go to drug court, listen to those" little 30 year olds who never did a drug in their lives", enjoy the experience and let it be what keeps his sorry butt out of jail for now. If he is, as he said, active in AA and has a decent sponsor, they'll be going after his snotty superior attitude soon anyhow.