Is sex tourism forbidden in thailand?

everyone goes there for this. isnt illegal to pay for sex?
4 answers 4