Vestigial traits can persist when there’s no incentive to lose them— but since there’s also no incentive to keep them, random mutations will sometimes still eliminate them from part of the population.