7שְׁלֹשָׁה שֶׁיָּשְׁבוּ לְקַיֵּם אֶת הַשְּׁטָר וּבָאוּ שְׁנֵי עֵדִים וְעִרְעֲרוּ עַל אֶחָד מֵהֶן שֶׁהוּא גַּזְלָן וְכַיּוֹצֵא בּוֹ וּבָאוּ שְׁנַיִם אֲחֵרִים וְהֵעִידוּ שֶׁחָזַר בִּתְשׁוּבָה. אִם עַד שֶׁלֹּא חָתְמוּ הֵעִידוּ שֶׁחָזַר הֲרֵי זֶה חוֹתֵם עִמָּהֶם שֶׁהֲרֵי שְׁלֹשָׁה הָיוּ וְאִם אַחַר שֶׁחָתְמוּ הַשְּׁנַיִם הֵעִידוּ עָלָיו שֶׁחָזַר בִּתְשׁוּבָה אֵינוֹ חוֹתֵם עִמָּהֶן שֶׁהֲרֵי הוּא כְּמִי שֶׁאֵינוֹ בְּעֵת חֲתִימַת הַשְּׁנַיִם. בַּמֶּה דְּבָרִים אֲמוּרִים כְּשֶׁעִרְעֲרוּ עָלָיו בַּעֲבֵרָה. אֲבָל עִרְעֲרוּ עָלָיו בִּפְגַם מִשְׁפָּחָה כְּמוֹ שֶׁאָמְרוּ אִמּוֹ לֹא נִשְׁתַּחְרְרָה וְעֶבֶד הוּא אוֹ לֹא נִתְגַּיְּרָה וְעַכּוּ"ם הוּא וְנוֹדַע אַחַר שֶׁחָתְמוּ הַשְּׁנַיִם שֶׁאֵין בְּמִשְׁפַּחְתּוֹ פְּגָם וְשֶׁהוּא כָּשֵׁר הֲרֵי זֶה חוֹתֵם עִמָּהֶם שֶׁזֶּה גִּלּוּי דָּבָר שֶׁהָיָה מִקֹּדֶם הוּא:
The following principles apply when there is a question if one of the judges was acceptable to serve in his position. For example, three judges sat to validate the authenticity of a legal document. Two witnesses came and challenged the propriety of one of the judges, saying that he was a robber or the like. Two others came and testified that he repented. If, before the judges signed, they testified that he repented, he may sign with them. For there were three acceptable judges at the time of the signing. If it was not until after the other two judges signed that the witnesses testified that he repented, the third judge may not sign together with them. For it is as if he did not exist at the time the other two signed. When does the above apply? When his propriety was challenged because of a transgression. Different rules apply, however, when, however, his propriety was challenged because of a blemish in his lineage, e.g., they said: "His mother was never freed, and he is a servant," or "His mother never converted and he is a gentile." If after the other two judges signed, it was discovered that he does not have this type of blemished lineage and he is fit to serve as a judge, he may sign together with the other two. The rationale is that this is merely the revelation of a fact that existed previously.