You certainly did the correct thing. I don't let anyone in my cars if they smell of cigarettes.
Some of my workers that smoke, after they have their cigarettes outside, they are not allowed to come back in the building for 10 minutes after they finished, so the smell goes away from their breath. If I smell them when they come in, I send them back outside.
You make something idiotproof, they'll make a better idiot.