Indonesia’s top court has ruled against petitioners seeking to make gay sex and sex outside marriage illegal.