So the question is it Illegal to have a gun if you are in possession¬*of drugs?¬* Or is the DEA agent just an idiot?
Yup, it's called an enhancement.
Dealing drugs = X years.
Dealing drugs while armed = X years + Y years
Most states have enhancements for committing crimes while armed. Problem is, 'innocent' people get tagged for them, and I say innocent because it could be some guy wanting to pay for a BJ, getting caught in a prostitution sting, who, instead of getting a ticket and a fine, is now charged as a felon because he had a CCW permit/pistol on him (committed a crime while armed). Most of the enhancements carry a mandatory minimum, so again, some young guy has a moment of poor judgment, and tries to pay for sex, turns into a 10 year mandatory sentence.