Legitimacy and Majority Rule