Right. Thank you. I thought I'd read somewhere on these forums that AI settlers couldn't enter your borders, even with open borders. .
Founding a city on a settler's path does usually seems to deter them form crossing.
Maybe the stack was teleported or something that turn or you just popped borders there?
The settler should move out of your borders next turn.
Next turn settler will move one tile closer to my city.