Medical exam leads to gay sex