However, in truth it appears to me that his words are correct, for while it is true that the poskim agreed to this as the law, that in a case of an unwitting act she is permitted, nevertheless the matter is clear that the opinion of the Bahag, the Rif, and the Rambam is that even in an unwitting act she is forbidden. The proof for this is that they wrote together the law of one who was betrothed and the law of one who married another before chalitzah, and just as in marriage there is no distinction between an unwitting act and a willful act, so too in betrothal. Furthermore, from the words of the Tosafot it is explained that Rabbeinu Tam disagrees with the Bahag, and according to the words of the poskim they do not disagree; and it is explicitly explained so in the Mordechai and in Sefer HaYashar of Rabbeinu Tam, siman 23, that he disagrees with the Bahag, which proves that the Bahag’s intention includes even an unwitting act, and such is the intention of the Rif and the Rambam. Moreover, how is it possible that they would leave their words so closed and not distinguish between an unwitting act and a willful act? Rather, it proves that it refers to all cases. And so too conversely, from the words of Rabbeinu Tam it was explained that in his opinion even in a willful act she is permitted to the one who betrothed her, since he wrote the reason that in betrothal we do not penalize; this proves that it refers to all cases, and regarding the incident where he permitted an unwitting act, it was simply a report of the incident as it occurred, but the same law applies even to a willful act in his opinion (and so wrote the Bach). And one should not ask, according to the opinion of those who hold that even in an unwitting act she is forbidden, how is it possible to say that this would be more stringent than a married woman who heard that her husband died and was betrothed to another, who is permitted to the other when she is widowed or divorced? For certainly there is a great distinction in the matter, for in the case of a married woman, since she does not require a get, the betrothal is nothing; this is not the case with a yevamah, who requires a get, and therefore it may well be said that she is forbidden to him, as it somewhat resembles one who takes back his divorcee after she was betrothed to another. The same applies here, since he could perform yibbum with her as she is bound to him, and the chalitzah stands in place of the get. And the poskim who distinguished between an unwitting act and a willful act are stating their own reasoning, but the Bahag, the Rif, and the Rambam hold that even in an unwitting act she is forbidden, and therefore it was ruled so in the Shulchan Aruch. However, for the law, the primary view is like the majority of the poskim and like the words of our teacher, the Rema. Also, regarding what he ruled stringently in a case where she was betrothed based on a rumor, the great later authorities disagree with him (Bach and Beit Shmuel, subsection 6). Likewise, regarding what he ruled that in a willful act if he transgressed and married her we remove her from him, they also disagree with him, for we have already written that it is possible that post facto they agree with the Rambam, and especially since the opinion of Rabbeinu Tam is that even initially it is permitted, as I wrote, one should not be so stringent in a rabbinic matter (and the term "forever" is not so precise, and only the Terumat HaDeshen infers it, while the Beit Yosef and the Bach disagree with him, and so wrote the Beit Shmuel) (see Maharsha 92).
אמנם באמת נלע"ד דדבריו צודקים דהן אמת דהפוסקים הסכימו כן לדינא דבשוגג מותרת מ"מ ברור הדבר דדעת בה"ג והרי"ף והרמב"ם שאפילו בשוגג נאסרת וראיה לזה שהרי כתבו ביחד דין נתקדשה ודין נשאת לאחר קודם חליצה וכשם דבנשואין אין חילוק בין שוגג למזיד כמו כן בקדושין ועוד דמתוך דברי התוס' מתבאר שר"ת חולק על בה"ג ולדברי הפוסקים לא פליגי ולהדיא מבואר כן במרדכי ובספר הישר לר"ת סי' כ"ג שחולק על בה"ג ש"מ דהבה"ג כוונתו גם על שוגג וכן הוא כוונת הרי"ף והרמב"ם ועוד דאיך אפשר שיסתמו דבריהם כל כך ולא יחלקו בין שוגג למזיד אלא ש"מ דבכל גווני מיירי וכן להיפך מדברי ר"ת נתבאר שלדעתו גם במזיד מותרת להמקדש מדכתב הטעם דבקדושין לא קנסינן ש"מ דבכל גווני מיירי ובמעשה שהתיר בשוגג מעשה שהיה כך היה אבל ה"ה גם במזיד לדעתו (וכ"כ הב"ח) ואין לשאול לדעת הסוברים שגם בשוגג אסורה איך אפשר לומר שתהא חמורה זו מא"א ששמעה שמת בעלה ונתקדשה לאחר דמותרת להאחר כשנתאלמנה או נתגרשה דוודאי חילוק גדול יש בדבר דבא"א כיון שא"צ גט הרי אין הקדושין כלום משא"כ ביבמה שצריכה גט ולכן שפיר י"ל שנאסרה עליו דדמי קצת למחזיר גרושתו אחר שנתקדשה לאחר וה"ה כאן כיון שיכול לייבמה דזקוקה היא לו ועומד החליצה במקום הגט והפוסקים שחילקו בין שוגג למזיד סברא דנפשייהו קאמרי אבל הבה"ג והרי"ף והרמב"ם ס"ל דגם בשוגג אסורה ולכן פסק בש"ע כן ומיהו לדינא העיקר כרוב הפוסקים וכדברי רבינו הרמ"א וגם במה שפסק לחומרא בנתקדשה ע"פ קול חולקין עליו גדולי האחרונים (ב"ח וב"ש סק"ו) וכן במה שפסק דבמזיד אם עבר ונשאה מוציאין אותה מידו חולקין עליו ג"כ דכבר כתבנו דאפשר דבדיעבד מודים להרמב"ם ובפרט שדעת ר"ת דגם לכתחלה מותר כמ"ש אין להחמיר כל כך במידי דרבנן (ולשון עולמית אינו דיוק כל כך ורק התה"ד מדייק לה והב"י והב"ח חולקים עליו וכ"כ הב"ש) (ע' מהרש"א צ"ב):