When it came to foreigners, the dynasties had the policy that they could only trade at canton with the supervision of imperial officials. Once each year's trading season was over, they had to leave. Beyond that, I'm not sure.
5.8m questions
7.5m answers