The girlfriend grows a dick, which qualifies as shemale. And the boyfriend ends up with the same type of body as her, so he also counts as a female character and therefore it's gender change.
Basically, it depends on if the end result of the change looks more like a dude with tits, or a girl with a dick. And this seems like a case of the latter.