Also regarding a messenger of the beit din, it is forbidden to treat him with levity, and one who degrades him or causes him distress, the beit din has the authority to penalize him according to their assessment. The messenger is as credible as two witnesses to testify that they degraded him regarding the matter of placing him under a ban, but to strike him or to penalize him monetarily, he is not credible without witnesses. The messenger of the beit din may tell the beit din what the litigant answered, even if he answered with words of degradation, and there is no concern of lashon hara in this. Our sages, of blessed memory, learned this from the portion of Korach, as it is written: "Will you gouge out the eyes of those men? We will not go up." Presumably, the messenger of Moses our teacher told this to Moses our teacher, and if there were a prohibition in the matter, Moses our teacher would not have accepted these words and would not have written it in the Torah; for it is obvious that the Holy One, Blessed be He, would not command him to write something that is not according to the law. And one cannot say that the messenger did not tell him these things, but rather the Holy One, Blessed be He, revealed it to him like all the words of the Torah, for behold, the Holy One, Blessed be He, does not reveal gossip [Sanhedrin 11a]. Rather, it is certain that the messenger told him, and the Holy One, Blessed be He, commanded him to write this in the Torah, and we learn from this that there is no concern of lashon hara in this. Similarly, the messenger of the beit din may execute judgment against one who refuses him by striking him, and if he damaged his property, he is exempt, even if he could have saved the situation through another means [Sma]. And there are those who disagree, that if he could save the situation through another means, he has no authority to damage his property or to strike him [Shevut Yaakov], and so it appears primary; see siman 11.
גם בשליח ב"ד אסור לנהוג קלות ראש והמבזה אותו והמצערו יש רשות לב"ד לקונסו כפי ראות עיניהם והשליח נאמן כשנים להעיד שביזו אותו לענין שינדו אותו אבל להכותו או לקונסו בממון אינו נאמן בלא עדים והשליח ב"ד יכול להגיד לב"ד מה שענה הבע"ד אף שהוא ענה דברי ביזוי ואין בזה משום לה"ר ורז"ל למדו זה מפרשת קרח מדכתיב העיני האנשים ההם תנקר לא נעלה ומסתמא הגיד זה שלוחו של משה רבינו למשה רבינו ואם היה איסור בדבר לא היה משה רבינו מקבל דברים אלו ולא היה כותבו בתורה דפשיטא שהקב"ה לא היה מצוה לו לכתוב דבר שאינו ע"פ דין וזה אין לומר דהשליח לא הגיד לו הדברים האלה אלא הקב"ה גילה לו ככל דברי התורה דהרי הקב"ה אינו מגלה דילטורין [סנה' י"א.] אלא וודאי דהשליח אמר לו והקב"ה צוהו לכתוב זה בתורה וש"מ שאין בזה משום לה"ר וכן יכול השליח ב"ד לעשות דין במסרב בו להכותו ואם הזיקו בממונו פטור אפילו היה יכול להציל בדבר אחר [סמ"ע] ויש חולקין דביכול להציל ע"י דבר אחר אין לו רשות להזיקו בממונו או להכותו [שבו"י] וכן נראה עיקר ועיי' בסי' י"א: