Regarding the matter of a convert, it is written "judgment," to teach that it requires a beit din of three experts (Yevamot 46b). And if you should say, behold, nowadays there is no semikhah? For in truth, we are acting as agents of the earlier ones, as in all monetary laws (Tosafot ibid.). And we have already explained this in Choshen Mishpat at the beginning of siman 1, see there. And since it requires a beit din according to the law, therefore we do not immerse him at night, nor on Shabbat or Yom Tov. And post facto, if they immersed him—it is a valid immersion. And know that the Rambam did not mention a beit din except regarding immersion. However, the Tur required that there be a beit din for circumcision as well. And we have already explained their reasoning in siman 267, section 4, see there. And there is no convert without circumcision and immersion. And if he immersed but did not circumcise, or circumcised but did not immerse—it is nothing. And the circumcision is before immersion. And if he immersed and afterwards circumcised, there are those who say that post facto it is effective, for behold, a pregnant gentile woman who converted, her son does not require immersion as will be explained, and for him the immersion is before the circumcision. And there are those who say that it is not effective. And it is not similar to a fetus, where it is impossible in any other way. Furthermore: when he is born, behold he is a complete Israelite, but for an ordinary convert it is an essential requirement that the circumcision be before the immersion. Therefore, even if he immersed beforehand—he should immerse himself again after the circumcision before three (Shach, subsection 2). And if he was circumcised while he was an idolater or if he was born circumcised—it is necessary to draw from him the blood of the covenant. And we do not recite a blessing over it, because it is a doubt whether it is necessary to draw blood or not. And if the organ was completely severed, his circumcision does not hinder him, and immersion alone is sufficient for him, since he has nothing to circumcise.
בעניינא דגר כתיב "משפט", ללמד שצריך בית דין מומחין של שלשה (יבמות מו ב). ואם תאמר הא האידנא ליכא סמוכין? דבאמת שליחותייהו דקמאי קעבדינן, כמו בכל דיני ממונות (תוספות שם). וכבר בארנו זה בחושן משפט ריש סימן א, עיין שם. וכיון דצריך בית דין כדין, לכן אין טובלין אותו בלילה, ולא בשבת ויום טוב. ובדיעבד אם הטבילוהו – הוי טבילה. ודע דהרמב"ם לא הזכיר בית דין רק גבי טבילה. אבל הטור הצריך דליהוי בית דין גם במילה. וכבר בארנו טעמם בסימן רס"ז סעיף ד, עיין שם. ואין גר בלא מילה וטבילה. ואם טבל ולא מל, או מל ולא טבל – אינו כלום. והמילה קודם טבילה. ואם טבל ואחר כך מל, יש אומרים דבדיעבד מהני, שהרי כותית מעוברת שנתגיירה אינו צריך בנה טבילה כמו שיתבאר, ואצלו הטבילה קודם המילה. ויש אומרים שאינו מועיל. ולא דמי לעובר, שאי אפשר באופן אחר. ועוד: שכשנולד הרי הוא ישראל גמור, אבל סתם גר הוא לעיכובא שתהא המילה קודם הטבילה. ולכן אף אם טבל קודם – יטבול את עצמו גם לאחר המילה בפני שלושה (ש"ך סעיף קטן ב). ואם מל בהיותו עובד כוכבים או שנולד מהול – צריך להטיף ממנו דם ברית. ואין מברכין עליו, לפי שהוא ספק אם צריך להטיף אם לאו. ואם נכרת הגיד לגמרי אין מילתו מעכבת, וסגי ליה בטבילה בלבד, כיון דאין לו מה למול.