Polanskian Elements
First I want to say that A Pure formality is a masterpiece film, 10/10, Gerard Depardieu and Polanski were equally brilliant, they were equally complimentary to each other and fed off of each other throughout the entire film.
Even though Polanski did not direct the film or supervise the writing of the script or supervise the photo direction or set design, A Pure Formality is a cornucopia of Polanski trademarks, perhaps this film was a homage to Polanski.
There are antique furnishings, eyes peeking through key holes, a physically menacing building, a mention of a winding staircase (from Onoff's novel), the metal tin of warm milk is similar to a can (Polanski always plants heavy soup cans in his films), the cabinet is the cupboard, the mention of a train station, master/servant relationship (Onoff-Inspector), isolated locations, isolated and alienated and lonely and paranoid characters, claustrophobia, Onoff is childless, oppressed/oppressor relationship (Onoff-Inspector), the lead character is visiting a country he does not live in (Frenchman in Italy), biblical and mythical references (Judgment, Afterlife, Charon, etc), the soundtrack is orchestral but Europeanesque and fast-paced and jazzy and contains bits of music similar to the scores for Polanski's films The Tenant and The Ninth Gate and Frantic and Knife In The Water, the photo direction and setting is rustic and gothic and Europeanesque, and there is an abundance of absurd Polanskianeque wit (the animal trap, the leaks, all that typing andthe pages were blank, the pens not working, Inspector stepping in a bowl of water, using drenched rags to sop up a flood of water, etc).
There are also other references to Polanski's films - Onoff jumps out of a window which parallels Polanski as Trelkovski (The Tenant) jumping out of a window, the Inspector forced Onoff to confront his life and his past just as Paulina Escobar (Death And The Maiden) forced Miranda to confront his life and his past, Onoff is chased by personal demons which lead him to suicide and purgatory then the afterworld and/or hell just as Corso (The Ninth Gate) is chased by personal demons and a Devil which leads him to ascend to either Heaven (my belief) or hell, the list can go on forever.
Intricate film, thank you Giuseppe Tornatore.