The law in question is specifically a drug law:<p><i>924(c).Federal drug laws require 5- to 30-year mandatory minimum sentences for possessing, brandishing or discharging a gun during a drug-trafficking crime.</i><p>By my reading of that, this applies even if the gun itself was entirely legal.