Can a taxon be endemic to a location if it is invasive to another?

I don’t think curators can do this, but some bugs make it happen:
https://forum.inaturalist.org/t/endemic-status-automatically-applied-to-continents/40079