Or was introduced with compost?
Yes, much more likely to have come into the garden via a plant pot. It's how we got what we called the New Zealand Flatworm and various other pests, animal and plant based

:'( We no longer have the flatworm, thankfully.