Responsa for Bava Batra 14:10
כופין אותו לבנות בית שער ודלת לחצר: תניא רבן שמעון בן גמליאל אומר לא כל חצרות ראויות לבית שער אלא חצר הסמוכה לרשות הרבים ראויה לבית שער ושאינה סמוכה לרשות הרבים אינה ראויה לבית שער ורבנן זימנין דדחקי בני רשות הרבים ועיילו ואתו:
and the other there is no latch. Or again I may say that in both cases there is a latch and still there is no difficulty, because in the one case the latch is inside and in the other outside.<span class="x" onmousemove="('comment',' If the latch is inside the poor man cannot open the door with it, and so cannot make his voice heard. ');"><sup>16</sup></span> HE MAY BE COMPELLED TO CONTRIBUTE TO THE COST OF A PORTER'S LODGE AND A DOOR. It has been taught: Rabban Simeon b. Gamaliel Says: Not all courtyards require a porter's lodge; a courtyard which abuts on the public thoroughfare requires a lodge, but one which does not abut on the public thoroughfare<span class="x" onmousemove="('comment',' Being somewhat drawn back into private ground. ');"><sup>17</sup></span>
Teshuvot Maharam
A. Matters of taxation depend on local custom. It is needless to ask me the custom of our community, for you may have a different custom. Anyone who settles in a new place is bound by the custom prevailing there. But since the community has completely settled its obligations to the burghers, by consenting to pay the tax to A, before Leah settled in T, the representatives of the community must prove through witnesses who are not residents of T, that according to their custom Leah was obliged to pay the amount the community demanded, before they could deprive her of any of her property. If Leah, however, rented a house in T before the tax was levied, she is bound to pay her share of the tax, despite the fact that the community may not be able to prove any prevailing custom to that effect.
SOURCES: Pr. 995. Cf. Menahem of Merseburg, Nimmukim (8).