The Talmud tells Jewish Judges to always side with fellow Jews in any case they have against a Gentile, or any case a Gentile has against them.
There is a reason European nations throughout history forbid Jews from being involved in government or becoming judges.