The Italian film Il Marchese del Grillo (The Marquis of Grillo) was released in 1981. It is based on a 1975 novel of the same name by Mario Vargas Llosa (Nobel laureate).
The film satirizes aristocratic privilege and papal corruption through the Marquis's mischievous pranks and his accidental swap with a commoner. It's considered a classic of Italian cinema—Monicelli's final great comedy.
Note: The novel (1975) and film (1981) are distinct works; the film adapts the novel loosely, emphasizing Sordi's comedic genius.