The objects of a non-Jew—according to the law, shevitah does not apply to them, since shevitah does not apply to their owners; however, nevertheless, they decreed shevitah for them because of the objects of an Israelite. For if they were to say that shevitah does not apply to them, they would also say so regarding the objects of an Israelite. And this is not like a decree upon a decree, for it is all one decree, that the objects shall acquire shevitah, for without this, that would not stand. Therefore, they have the shevitah of their place, two thousand cubits in every direction. Therefore, if the non-Jew brought them on Shabbat or on Yom Tov to a city from outside their techum, if the city is surrounded by a wall and surrounded for habitation, meaning it was settled and subsequently surrounded—they may move them throughout the entire city. But if it was surrounded and subsequently settled—they may not move them except within four cubits. And if he brought them into a courtyard—he may move them throughout the entire courtyard. And most cities are surrounded for habitation, as they build the houses and afterwards surround them, and most fortresses are not surrounded for habitation, as I wrote in siman 398. And if the city is joined by means of a tzurat hapetach—they may move them throughout all of it, and likewise in an alleyway. Therefore, one must be careful regarding an Israelite who lent his vessels to a non-Jew before Shabbat and he returned them on Shabbat, that he should not move them outside of four cubits if the city is not surrounded, or is not surrounded for habitation, for behold the vessel is in the domain of the borrower regarding the matter of shevitah, as I wrote in siman 397. (See Taz, subsection 1, and his words are astonishing as the Eliyah Rabbah and the Tosefot Shabbat wrote, and the words of the Shulchan Aruch are the truth in halachah, and examine this carefully.)
חפציו של אינו יהודי - מדינא לא שייך בהם שביתה, כיון דבעליהם לא שייך בהם שביתה, אלא שמכל מקום גזרו בהם שביתה, משום חפצי ישראל. שאם יאמרו שבהם אין שביתה, יאמרו גם בחפצי ישראל כן. ואין זה כגזירה לגזירה, דכולה חדא גזירה היא, שהחפצים יקנו שביתה, דאי לא הא - לא קיימא הא, ולכן יש להם שביתת מקומן אלפים לכל רוח. ולכן אם הביאן האינו יהודי בשבת או ביום טוב לעיר מחוץ לתחומן, אם העיר מוקפת חומה ומוקפת לדירה, שישבה ולבסוף הוקפה - יכולים לטלטלן בכל העיר. ואם הוקפה ולבסוף ישבה - אין מטלטלין אותן אלא בד' אמות. ואם הכניסן לחצר - מטלטלן בכל החצר. וסתם עיירות מוקפות לדירה, שבונין הבתים ואחר כך מקיפין, וסתם מבצרים אין מוקפין לדירה, כמ"ש בסימן שצ"ח. ואם העיר מעורבת על ידי צורת הפתח - מטלטלין בכולה, וכן במבוי. ולכן יש ליזהר בישראל שהשאיל כליו לאינו יהודי קודם השבת והחזירן בשבת, שלא יטלטלן חוץ לד' אמות אם אין העיר מוקף, או אינה מוקפת לדירה, שהרי הכלי היא ברשות השואל לעניין שביתה, כמ"ש בסימן שצ"ז. (עיין ט"ז סק"א ודבריו תמוהים כמ"ש הא"ר והת"ש, ודברי הש"ע אמת להלכה ודו"ק)