This is a classic example of situational ethics.
You think that there is a compelling need for the dying to experience pleasures like sex at least once before leaving the earth, but that's because everything you've got is invested in this life. Yet this life is only given us to test us before the next one (Eye has not seen, ear has not heard, nor has entered into the heart of man all that God has prepared for those who love Him). You would sacrifice the temporal for the eternal. Tell me, what good was this cheap fling for the boy now that he's dead?
...make that eternal for the temporal. I've yet to sleep :o(
Simply put, I doubt any just God would condemn the kid for what he did. But then again you don't believe in a just God.