The Gemara brings a הלכה to prove that Rashba only said his דין only when the majority are גוים.