The correct term is, “transvestite”, or “cross-dresser”.
You are correct about gender being a grammatical term, and that nobody can transform their sex.
It’s in the chromosomes, which cannot be changed from one sex to the other.
That’s science.