Popular opinions should not SOLELY dictate the nation's laws. Constitutions exists to protect people society disagrees with, it should not serve only the majority group of the citizens, that is called privilege.
My heart goes to the LGBTQ+ community of Indonesia. Stay safe.