A judge wouldn't issue a restraining order? He would end up being charged with blackmail and obstruction to boot.
Did the Jewish party discuss going to court with their rov? If not then they probably should before going ahead with this. If yes then him going to the rov is not much if a threat.