Goblet cells have a degree of plasticity and can undergo metaplasia, a process where they transform into other cell types under certain pathological conditions. For example, in Barrett's esophagus, goblet cells can appear in the esophageal epithelium due to chronic acid reflux, replacing the normal squamous epithelium with a columnar epithelium.