377.—(1) Any man who penetrates, with his penis, the vagina, anus or mouth, as the case may be, of a human corpse, shall be guilty of an offence.
(2) A man who is guilty of an offence under subsection (1) shall be punished with imprisonment for a term which may extend to 5 years, or with fine, or with both.
(3) Any person (A) who causes any man (B) to penetrate with B’s penis, the vagina, anus or mouth, as the case may be, of a human corpse, shall be guilty of an offence if B did not consent to the penetration.
(4) A person who is guilty of an offence under subsection (3) shall be punished with imprisonment for a term which may extend to 20 years, and shall also be liable to fine or to caning.