I don't think morality can ever successfully be legislated. What is immoral for some is moral for others.
Democratic countries have addressed this issue by differentiating between crimes and sins. We can be as 'immoral' as we please as long as our immorality is not criminal.
As for dictating to other countries how they should rule, it is the right of a sovereign nation to enact its own laws; outsiders should not interfere, to my way of thinking.
Islamic countries are rules by Islamic law. We, in the free world, do not agree and see that as barbaric and an abuse of human rights. I certainly do! But if the Muslims in that country don't like it they should be the ones to revolt and bring about change. It is not the business of any other country.
The important thing, I believe, is to defend the laws of our own countries and disallow Muslims or any other religious group from disobeying our laws in any way while they reside in our country.
It should have been foreseen by the governments of those countries who opened the floodgates to Islamic refugees that conflict would arise. Now they want the UN (which is useless in the matter) and the rest of the free world to solve the problems for them by forcing our 'morality' globally.
When an organization like the UN has countries like Saudi Arabia, China, Russia negotiating on human rights issues , it can't be taken seriously.
JMHO.