The transgender bathroom debate ain't got nothing on the problems one Thai man ran into when he recently relieved himself.

A snake bit a man on his penis while he used the bathroom in his own home. Attaporn Boonmakchuay, 38, was bitten when a python slithered its way into the toilet in his house. Talk about making a commode-tion.

Boonmakchuay wrangled with the creature and eventually managed to tie its head to a door while his wife summoned a neighbor to help with a bloody scene that looked like something out of a horror movie. All told, it took Boonmakchuay 30 minutes to free himself from the snake's grip. He was taken to a hospital to be treated for severe blood loss, while a crew was summoned to get the snake out of the toilet.

It's believed the snake got into the house through a pipe. Boonmakchuay is in stable condition, but you've gotta believe he runs the risk of having flashbacks every time he has to go number two.