Mechanistically, glyR mutations upregulate the glycoporin GlyP, improving growth in glycerol-rich niches but carrying costs elsewhere. These mutations are under conditional positive selection in clinical isolates, showing how microbiota context can shape the evolution of resistance.