Re: What happens if someone from the past shows up...
...(or at least unless a later diplomatic agreement can be reached that is acceptable to the Edo will protect Federates from those aspects of Edo law).
Or until your people are actually bright enough to follow local laws.
"You know. 1966? Seventy-nine episodes, about thirty good ones." - Phillip Fry describing Star Trek, Futurama