Vincent Price starred in the film version of this as the Judge in 1963. Though that story combined elements from TWO de Maupassant short stories. DIARY OF A MADMAN and THE HORLA.

Not sure what Gogol's name is doing on this.