One of the reasons, another is obviously because the majority of people can never be the source of law. If the majority think homosexuality is halal it does not become halal. However the people who argue for Islamic democracy claim that a Islamic democracy would only legislate the halal and prohibit the haram.