I am looking for a 19th century short story. I thought it was written by Guy de Maupassant, but didn't find it. A French country priest starts having vivid dreams that he is a diabolical courtier in hell. The dreams become ever more intense and elaborated. The last line is something like: "One night, one of the devil's courtier's had a strange dream, that he was a French country priest." The basic idea seems to be borrowed from Zhuangzi's 'The Butterfly Dream'.