While it is true that Jesus family traveled down to Egypt to avoid Herod’s order to kill all Children under two years of age, the territories of the Bible were pretty much open in that age.
People were free to travel from one place to another. Borders weren’t closed as they are today.
Jesus’ family wasn’t doing something against Egypt’s laws.
Thanks for that clarification!
Uh, maybe I am missing something, but weren’t Judea, Egypt and all of the lands of the Eastern Mediterranean part of the Roman Empire, and as such, basically the same country? Egypt would have had very little say. It was under Roman domination.