Ahem, Holodeck 4.
But seriously, that pretty much indicates that one primary use of the holodeck is for fuck programs. It's why I always liked Lt. Barclay.
Also, man oh man Xenia Onatopp is hot as hellll in this episode.