No Namaz for Transexual

Re: No Namaz for Transexual

I am confused. He underwent a surgery that Islam doesn't allow. Why does he even want to perform prayers in a mosque? Having said that, we need to know WHY he needed to get that done? His reason here will affect our perspective on the issue and whether he should be allowed to pray in the mosque or not.