Diary of a Madman (1963)

An evil spirit leaves the body of his human host, a criminal on death-row, and sneaks into the body of his next human host, a French magistrate.