Serving as a dayan on a case where one of the litigants is a friend or foe – Rosh and Rambam.