Roman Catholic Church officials found The Da Vinci Code offensive and forbade filming in their churches, so these scenes were shot at Sony. The Caserta Palace doubled for the inside of the Vatican, and the Biblioteca Angelica was used for the Vatican Library.