Well, you cannot legally bang out with a corpse, but they are and are not dead, hmm…
It would quickly become a law: No sexual misconduct, with or without consent, with the living-dead.
I don’t have the Penal Code here, it might already be in there?