I don't know about Saudi but Iran is one of the leading countries internationally for gender affirming surgery. Bizarrely, they don't accept gay people but they do pressude gay people to change their gender in all cases, when cisgender gay people are not the same thing as transgender people by any stretch of the imagination.
Just goes to show you how important CULTURE is around such issues as gender identity and sexual orientation.