
Tshuvah from the Rishon Rabbeinu Yoinah: Its a Mitzvah to curse a Dayan that goes against Hashem.
The Great Poskim, the Shemen Rokeach and the Shoel Umaishiv, say that it’s a Mitzvah to publicly shame Dayanim that produce invalid Gittin. See attached image for sources.