As I said, respect the local laws and customs and nothing will happen to you. As proven by about 15 million annual tourists from all over the world.
You obviously don’t have to visit if you disagree with the local customs, but to say that going there has any measurable chances of getting arrested is incorrect.
And regarding the law about sharing a room by a (heterosexual) premarital couple, it has been decriminalized in 2020, and rarely applied to foreigners in the first place.