And there are those who say that there is no difference between being signed on a shtar and oral testimony, for witnesses signed on a shtar are as if their testimony was examined in beit din. Therefore, even in a shtar, if they saw the testimony together, they are disqualified according to all opinions since they signed together. And that which we validated in a shtar when they signed together was specifically when they did not see the testimony together, for then they are valid according to all opinions. And even according to the opinion in section 2 that through seeing alone the valid ones are also disqualified, nonetheless, regarding testimony alone without seeing together, even according to this opinion it is valid, and even when they testified together orally before the beit din. And even if they testified together and saw together, but the disqualified ones did not intend to testify, it is also valid even in oral testimony (Shach, subsection 10, like the Mahari Berav and not like the Maharam Alashkar). And according to this, there is no difference at all between a shtar and oral testimony (Shach, subsection 12 and Netivot HaMishpat, siman 45, subsection 23). However, according to the first opinion, even if they saw together and the intention of the disqualified ones was to testify, since they did not testify together before beit din, the valid ones are not disqualified even though they signed together, for the testimony of the shtar is not considered testimony regarding this matter, as has been written in section 9. And there is one who says that as long as beit din has not adjudicated the matter of the shtar, their signature is not like the delivery of testimony, but once beit din has adjudicated the matter of this shtar, it is certainly considered like testimony (Taz). And it appears to me that the primary view is like this opinion, and the first opinion also agrees to this, and so appears the opinion of our teacher, the Rema, and logic dictates this; for certainly witnesses signed on a shtar are as if their testimony was examined in beit din, but this is only when beit din adjudicated based on this shtar. But without this, there is no beit din yet upon this and there is no utility in it. And if so, if before the beit din adjudicated they nullify the entire testimony because of the disqualified ones, behold the valid ones have not yet testified in beit din and they can testify according to the second opinion in section 4. And know that according to the opinions we have explained in this, likewise shall be interpreted the law in siman 45, section 18 and siman 51, section 4.
וי"א דאין חילוק בין חתום בשטר לעדות בע"פ דעדים החתומים על השטר הוה כמו שנחקרה עדותן בב"ד ולכן גם בשטר אם ראו העדות ביחד נפסלו לכל הדיעות כיון שחתמו ביחד וזה שהכשרנו בשטר כשחתמו ביחד היינו דווקא כשלא ראו העדות ביחד דאז כשירין לכל הדיעות ואף לדיעה שבסעי' ב' דבראייה בלבד נפסלו גם הכשירים אבל בהגדה בלבד בלא ראייה ביחד גם לדיעה זו כשר ואפילו כשהגידו יחד בע"פ לפני הב"ד ואפילו הגידו ביחד וראו ביחד ולא היתה כוונת הפסולים להעיד ג"כ כשר אפילו בהגדה בע"פ (ש"ך ס"ק י' כהר"י בירב ודלא כמהר"ם אלשק"ר) ולפ"ז אין שום חילוק בין שטר לעדות בע"פ (ש"ך ס"ק י"ב ונה"מ סי' מ"ה ס"ק כ"ג) אבל לדיעה ראשונה אף שראו ביחד וכוונת הפסולים היתה להעיד כיון שלא העידו ביחד לפני ב"ד אין הכשירים נפסלים אף שחתמו ביחד דהגדת השטר לא חשיבא הגדה לענין זה כמ"ש בסעי' ט' ויש מי שאומר דכל זמן שב"ד לא דנו בעסק השטר אין חתימתם כהגדת העדות אבל משדנו ב"ד על עסק שטר זה וודאי חשיבא כהגדה (ט"ז) ונראה לי עיקר כדיעה זו וגם דיעה ראשונה מודה בזה וכ"נ דעת רבינו הרמ"א והסברא נותנת כן דוודאי עדים החתומים על השטר הוה כנחקרה עדותן בב"ד אבל אין זה רק כשב"ד דנו ע"פ שטר זה אבל בלא זה הלא אין ב"ד עדיין על זה ואין בו תועלת וא"כ אם קודם שדנו הב"ד מבטלים כל העדות מפני הפסולים הלא הכשירים לא העידו עדיין בב"ד ויכולים להעיד לדיעה שנייה שבסעי' ד' ודע דלפי הדיעות שבארנו בזה כמו כן יתפרש הדין שבסי' מ"ה סעי' י"ח וסי' נ"א סעי' ד':