After his release from prison, gangster Eddie Kagle is killed by his partner in crime, Smiley Williams. Kagle ends up in Hell, where “Nick” offers him a chance to leave and avenge his own death in exchange for help with a problem. Kagle looks exactly like Judge Frederick Parker, an upright man who is causing Nick distress because he is entirely too honest. Nick fears that Parker may cause him more anxiety in future, as he is running for governor of his state. Nick wants to destroy Parker’s reputation and Kagle readily agrees to have his soul transferred into Parker’s body.
As soon as Kagle appears as Parker, odd things begin to happen. Kagle pursues his goal with evil intent (though often at cross purposes with the Devil), but everything he does to ruin Judge Parker’s reputation somehow results in making Parker look better. Along the way, Kagle falls in love with Barbara Foster, the judge’s fiancée, causing him to question his whole outlook on life and eventually rebel against Nick. Wiki