Horror movie The Pope's Exorcist takes place in the late 1980s, leading to questions about who the real Pope was at the time of the movie's events. The events of the movie certainly lean toward the fantastical: Father Gabriele Amorth, the Vatican's chief exorcist, is sent to observe and dispatch a demon that has taken possession of a young boy named Henry. Along the way, he discovers that the Vatican has been keeping dark secrets about one. One of the Vatican's own exorcists himself was possessed in the past, an event that the Church has worked to cover up.
https://screenrant.com/who-is-the-pope-in-the-popes-exorcist/