Our teacher, the Rema, wrote: But it is permitted to repair the Sefer Torah itself with its margins, if it is impossible to repair it in another manner, and it would have required genizah regardless. But if it is possible to repair it in another manner, even if the Sefer Torah is of gevil and he wishes to adhere parchment to it – he should not cut the margins to repair it, for it is not forbidden to repair it from the outside with parchment even though the Sefer Torah is of gevil. Thus far his words. And this law is from the responsa of Maharam Padua (siman 84). And it is explained there that he does not consider it a descent in status when they repair the Sefer Torah itself with the margin, meaning to place patches upon it. Rather, his concern was because it is impossible to precisely cut from it exactly what is needed for the patches, and remnants of the margins will remain with nothing on them, and they will require genizah. Therefore, he only permitted it if it is impossible in another manner: for since without this they would hide away the Sefer Torah – it is better to repair it with the margins. And he wrote there, and this is his wording: However, if it were possible to cut only according to the need of the patch, it would seem to be permitted. For it is an ascent, initially being a margin, and afterwards being part of the body of the scroll etc. Thus far his words. But the Rivash (siman 32) did not write based on the reason of the remnants, but rather that this itself is a descent in status, and this is his wording: You asked if it is permitted to take from the margins of a Sefer Torah that was torn and to adhere them, or if it is a descent in status? It appears certainly that it is forbidden, for even to write a mezuzah upon it is forbidden, as we do not lower in status etc. and all the more so to adhere the tear, which serves only as a mere act of adhesion and from behind the scroll. Thus far his words. Yet it is possible to say that his intention was to adhere the tear of the Sefer Torah, but it would not be a patch to write upon. And a patch is superior, because one writes upon it. According to this, one may say that they do not disagree with one another, and we can rule like Maharam Padua. (See Darkhei Moshe who understood that they disagree, but it is not definitive. Examine carefully and you will find it easy.) And it is a simple matter that it is forbidden to take a margin from this Sefer Torah and repair another Sefer Torah (Chatam Sofer). And it appears in my humble opinion that this applies only to a kosher Sefer Torah, or one that is capable of being repaired. But a disqualified Sefer Torah, which can no longer be repaired and requires genizah – it is permitted to cut the margins and prepare from them patches for another Sefer Torah, for it is simple that there is no descent in status in this, as this is better than genizah. And according to the opinion of Maharam Padua, it is an ascent. And even according to the opinion of the Rivash, one may say so as I have written, that they do not disagree with one another. And specifically regarding one that requires genizah – one should permit it simply in such a case.
וכתב רבינו הרמ"א: אבל מותר לתקן הספר תורה עצמה עם גליונותיה, אם אי אפשר לתקנה בעניין אחר, והיה צריך לגונזה בלאו הכי. אבל אם אפשר לתקנה בעניין אחר, אף על פי שהספר תורה מגוילין ורוצה לדבק עליה קלפים – לא יחתוך הגליונות לתקנה, דאין אסור לתקנה מבחוץ בקלף אף על פי שהספר תורה מגוילין. עד כאן לשונו. ודין זה הוא מתשובת מהר"ם פדוו"א (סימן פ"ד). ומבואר שם דאינו חושב זה לירידה במה שמתקנין בהגליון הספר תורה עצמה, והיינו להניח עליה מטליתים. אלא שקפידתו היתה מפני שאי אפשר לצמצם לחתוך ממנה ממש, כפי הנצרך להמטליתים, וישארו שיריים מהגליונות בלא כלום, ויצטרכו גניזה. ולכן לא התיר רק אם אי אפשר בעניין אחר: דכיון דבלא זה יגנוזו הספר תורה – מוטב יותר לתקנה בהגליונות. וכתב שם, וזה לשונו: אמנם אם היה אפשר לחתוך רק כדי צורך המטלית, היה נראה להתיר. כי מעלה היא בתחילה גליון, ואחר כך מגוף הספר וכו' עד כאן לשונו. אבל הריב"ש (סימן ל"ב) לא כתב מטעם השיריים, אלא שזה עצמו ירידה היא, וזה לשונו: שאלת אם מותר ליקח מגליוני ספר תורה שנקרע ולדבק בהם, או אם היא ירידה? נראה בוודאי שאסור, שאפילו לכתוב עליו מזוזה אסור, שאין מורידין וכו' וכל שכן לדבק הקרע, שאינו משמש אלא מעשה דבק בעלמא ומאחורי הספר. עד כאן לשונו. אך אפשר לומר דכוונתו לדבק הקרע של הספר תורה, אבל לא יהיה זה למטלית לכתוב עליו. ומטלית עדיף טפי, מפני שכותבין עליו. ולפי זה יש לומר דלא פליגי אהדדי, ונוכל להורות כמהר"ם פדוו"א. (עיין דרכי משה שתפס דפליגי, ואינו מוכרח. ודייק ותמצא קל.) וזהו מילתא דפשיטא דאסור ליטול גליון מספר תורה זו ולתקן ספר תורה אחרת (חת"ם סופר). ונראה לעניות דעתי דזהו רק מספר תורה כשירה, או שביכולת לתקנה. אבל ספר תורה פסולה, שאי אפשר לתקנה עוד, וצריכה גניזה – מותר לקצוץ הגליונות ולתקן מהם מטליתים לספר תורה אחרת, דפשיטא דאין בזה ירידה, דזהו עדיף מגניזה. ולדעת מהר"ם פדוו"א הוה עלייה. ואף לדעת הריב"ש יש לומר כן כמו שכתבתי, דלא פליגי אהדדי. ובפרט באותה שטעונה גניזה – יש להתיר בפשיטות בכהאי גוונא.