Just out of curiosity, how can necrophilia be consensual?
If they consent before death, as I said before.
Actually, I did put conditions on it. ALL individuals involved must be consenting. Doesn't matter if they are directly involved or indirectly involved. The family of someone who dies during sex is indirectly involved in that sexual act.
But as I pointed out before, your family or friends may disapprove of homosexuality, swinging, group sex, BDSM and fetishism so you shouldn't do it if they don't like it. Or your only choice is to live in the closest.