The Lithuanian man arrived at the Accident and Emergency section of Denia hospital after midnight last Thursday after a kinky sex game went wrong and four metal rings got stuck on his penis.
But doctors had to call in the assistance of local firefighters to remove the steel rings with specialist cutting equipment.
The steel rings were so thick that two cuts had to be made in each in order to prise them off the delicate body part while cooling fluid was applied to avoid burning from the electric circular saw.
The team at Denia's fire station confirmed to The Local that it was one of their more unusual rescues.
"It's not the first time that the hospital has called us to cut off rings, but usually they are from the finger," said station chief Javier Fayos.
"And the rings aren't usually made of steel - which meant we had to make two cuts on each of the four rings, one above and one below."
The team of firefighters took almost an hour to remove all the metal rings.