During the French occupation of Florence in 1799 he became a major figure in saving the museum's artworks from seizure by the occupiers, ensuring the Uffizi lost no major works other than the Medici Venus.