Bhagavadajjukam
A monk transfers his soul into a courtesan’s body to teach his hedonistic disciple a lesson. When the messenger of death discovers he took the wrong soul, he places the courtesan’s soul in the monk’s body, producing a series of comic confusions until the souls are switched back.