The straightest of men turn gay when they are put behind bars. We don't even have to look into the pages of human history to understand why or how this volte face takes place. Something the ones flying the flags of bigotry as well as LGBT don't get it, do they? It's not about sexual orientation. It's much deeper than that. Much messier than what they assume it is on the other side of the wall. As long as everything is going fine, everybody has a topic to take a stand for. Once that cool awning is pulled down, then what? Desperation has always been the surrogate mother of necessities. Once a man is cut off from the comfort of a society, he'll become his own. He fights for himself and not for some ideology he was willing to tolerate sunburn for outside the prison. Inside, he won't mind bending nor making others bend to his whims anymore. However, it doesn't mean that he's finally found himself. In fact, far from that. It just so happened that the person who was his desperate self ended up finding him stuck in a small room with a smaller window that lets in nothing but sunbeams filled with dust. When you're in there, you make the most of what you have whether your crotch likes it or not.
On a second thought, ever wondered why a staunch vegetarian like Pi fought with a ferocious tiger on a boat for his share of fish? To his fictitious credit, history is decorated with instances of civilized people turning to cannibalization to fill their stomach. So it's alright, i guess.