Towing the party line has risks.