In order for a judge to enhance your sentence under California's "10-20-life 'use a gun and you're done'" law, the prosecutor must prove all the required elements beyond a reasonable doubt.  If the prosecutor fails to prove even one element, you are not subject to a penalty enhancement under Penal Code 12022.53.