Midnight in Paris (2011)

Michael Sheen plays Paul in this film about a writer and his fiancée visiting Paris.

Paul is a friend of the two main characters, played by Rachel McAdams and Owen Wilson, and is a bit of a pedantic know-it-all.