And know that what we explained there regarding the dispute of our teacher Yonah with the Rashba and the Rosh, concerning the first person who comes to open a window in his upper story facing the public domain opposite his fellow—where the Ri forbids opening across from him entirely and they permit it—our teacher, the Beit Yosef, wrote it in section 14. And in section 15 he wrote: And these words apply in a place where a person is not permitted to extend joists and balconies from his upper story into the public domain; but in a place where he is permitted to extend them, the airspace in front of his upper story is not ownerless, but rather is like a courtyard of partners, and when this one opened his window facing the airspace in front of the upper story opposite it, he opened unlawfully, since the other can also extend his building into the public domain. Thus far his words. And its source is from a responsum of the Rosh which is in the Tur, section 11, and he transcribed it in Shulchan Aruch, section 16, regarding the law we wrote in section 22 concerning one who opens toward the property of his fellow when it does not currently damage him, for the opinion of the Rosh is that he may open. This is his wording: And based on these words, the Rosh ruled regarding Reuven who extended the projection of his upper story outward and opened a window in it, and ultimately Shimon, his neighbor opposite him, decided that he too would extend the projection of his upper story, and Reuven claims that he must distance his building from opposite his window so that he does not darken it, that the law is with Shimon; because since the custom of the place is that one is permitted to extend joists and balconies into the public domain, it is like a courtyard of partners, etc. Therefore, Reuven has no chazakah, and Shimon may build opposite his window. Thus far his words.
And behold, his words in section 15 have no understanding at all, for what is the relevance of joists to the opening mentioned in section 14? For either way, if he did not have permission to open an opening or a window, how could our teacher Yonah disagree on this? And there are many other difficulties, and the words of the commentators on the Shulchan Aruch are forced. And what appears to me in my humble opinion is that the essence of the matter is this: that which we explained in section 21, that even though Reuven acquired the light from the public domain such that Shimon cannot open opposite him, nevertheless, to raise his wall he is permitted; and our teacher, the Beit Yosef, wrote it in section 31. Regarding this matter, the Rosh said that it is like a courtyard of partners. And this is the intent of our teacher, the Beit Yosef, in section 15 in what he wrote, "And these words apply in a place where a person is not permitted, etc." And he means to say that regarding what he wrote previously—the opinion of the Rashba and the Rosh that the first person acquired his opening from the ownerless property, and consequently Shimon must also distance his building so as not to darken it—to this he says that this is specifically when Shimon did not have permission then to build and extend joists, for Reuven acquired it for all matters, and even our teacher Yonah would not disagree on this. But in a place where Shimon also had permission then to build as much as he wished, granted that Reuven acquired the light and Shimon is forbidden to open opposite him so as not to damage him directly, nevertheless, he is permitted to build even if he darkens it, for regarding this it is like a courtyard of partners, as I wrote there the reasoning for the matter.
And it is necessary to say so, for as for opening doorways and windows, it is obvious that every person has permission to do so, for that is what the street is made for; but to extend joists, there are places that prevent it. Therefore, if Shimon did not have the power then to do so, Reuven acquired the opening of his window such that even if Shimon obtained permission afterward to extend joists and build a structure, he must distance it so as not to darken it. But if he had permission even then, he does not need to distance. But to raise his wall, which he was already permitted to do, even if he darkens it by this, since in this he had permission, and as I wrote there. And our teacher, the Beit Yosef, was brief in section 15 in his wording and relied on what he wrote in section 16 [and perhaps such is the opinion of the Taz and the Gra]. And it is more likely to say that therefore our teacher, the Beit Yosef, presented this law regarding joists and balconies, for regarding the raising of a wall standing at the side of the street, it is remote that it would darken the one opposite him by this, for presumably every street is no less than four amot, and such distancing is sufficient even in a case of a complete chazakah, as I wrote. Therefore he wrote "joists and balconies," and they project into the street above, and not in all places does the government give permission to do so because they darken the street, and in this manner the buildings from the side of the street can meet the side opposite it. And these matters are according to the law and according to correct reasoning.
ודע דמה שבארנו שם במחלוקת רבינו יונה עם הרשב"א והרא"ש בראשון שבא לפתוח בעלייתו חלון לרה"ר כנגד חבירו דהר"י אוסר לפתוח ע"פ כולו והמה מתירים כתבה רבינו הב"י בסעי' י"ד ובסעי' ט"ו כתב וה"מ במקום שאין אדם רשאי להוציא זיזין וגזוזטראות מעלייתו לרה"ר אבל במקום שרשאי להוציאם לא הוי האויר שלפני עלייתו הפקר אלא הוי כחצר השותפין וכשפתח זה חלונו כנגד אויר שלפני עלייה שכנגדה שלא כדין פתח כיון שגם האחר יכול להוציא בניינו לרה"ר עכ"ל ומקורו מתשו' הרא"ש שבטור סעי' י"א והעתיקה בש"ע סעי' ט"ז בהדין שכתבנו בסעי' כ"ב בפותח לרשות חבירו כשעתה אינו מזיק לו דדעת הרא"ש דיכול לפתוח וז"ל וע"פ הדברים האלה פסק הרא"ש בראובן שהוציא בליטת עלייתו לחוץ ופתח בו חלון ולסוף נמלך שמעון שכנו שכנגדו להוציא גם הוא בליטת עלייתו וטוען ראובן שירחיק בניינו מכנגד חלונו שלא יאפיל שהדין עם שמעון מפני שכיון שמנהג המקום שרשאי להוציא זיזין וגזוזטראות לרה"ר הוי כחצר השותפין וכו' הלכך אין חזקה לראובן ויכול שמעון לבנות כנגד חלונו עכ"ל והנה דבריו בסעי' ט"ו אין לזה שום הבנה דמה עניין זיזין לפתח שבסעי' י"ד דממ"נ אם לא היה לו רשות לפתוח פתח או חלון איך יחלוק רבינו יונה בזה ועוד קושיות רבות ודברי מפרשי הש"ע דחוקים והנלע"ד דעיקרי הדברים כן הוא שזה שבארנו בסעי' כ"א דאע"ג דזכה ראובן בהאור שברה"ר ששמעון אינו יכול לפתוח כנגדו מ"מ להגביה כותלו רשאי וכתבה רבינו הב"י בסעי' ל"א לעניין זה אמר הרא"ש דהוי כחצר השותפין וזהו כוונת רבינו הב"י בסעי' ט"ו במה שכתב וה"מ במקום שאין אדם רשאי וכו' ור"ל דלעניין מה שכתב מקודם דעת הרשב"א והרא"ש דהראשון זכה בפתיחתו מהפקר וממילא דצריך שמעון גם להרחיק בניינו שלא יאפיל עליו לזה אומר דזהו דווקא כשלא היה רשות לשמעון אז לבנות ולהוציא זיזין דזכה ראובן לכל הדברים וגם רבינו יונה לא יחלוק בזה אבל במקום שהיה גם אז לשמעון רשות לבנות כמה שירצה נהי דזכה ראובן בהאור ושמעון אסור לו לפתוח כנגדו שלא יזיקנו בידים מ"מ מותר לו לבנות אף שמאפיל עליו דלעניין זה הוי כחצר השותפין כמ"ש שם מילתא בטעמא ובהכרח לומר כן דאלו לפתוח פתחים וחלונות פשיטא שלכל אדם יש רשות לעשות דלזה עשוי הרחוב אבל להוציא זיזין יש מקומות שמונעים ולכן אם אז לא היה לשמעון כח לעשות כן זכה ראובן בפתיחת חלונו שאף אם השיג שמעון רשיון אח"כ להוציא זיזין ולבנות בניין שצריך להרחיק שלא יאפיל עליו אבל אם גם אז היה לו רשות א"צ להרחיק אבל להגביה כותלו שמכבר רשאי אף אם מאפיל עליו בזה כיון שבזה היה לו רשות וכמ"ש שם ורבינו הב"י קיצר בסעי' ט"ו בלשונו וסמך על מ"ש בסעי' ט"ז [ואולי שכן דעת הט"ז והגר"א] ויותר קרוב לומר דלכן המציא רבינו הב"י דין זה בזיזין וגזוזטראות דאלו בהגבהת כותל העומדת בצד הרחוב רחוק הוא שיאפיל בזה על שכנגדו דמסתמא כל רחוב אינה פחותה מד' אמות ודי הרחקה כזו אף בחזקה גמורה כמ"ש ולכן כתב זיזין וגזוזטראות והמה בולטין לתוך הרחוב למעלה ולא בכל המקומות נותנת המלכות רשות לעשות כן כי מאפלים על הרחוב ובאופן זה יכולים לפגוש הבניינים שמצד הרחוב להצד שכנגדו ודברים אלה הם ע"פ הדין וע"פ סברא נכונה: