 He also enriched the Vatican Library with numerous manuscripts and books.It was Pius VII who adopted the yellow and white flag of the Holy See as a response to the Napoleonic invasion of 1808.Throughout his pontificate, Pius VII canonized a total of five saints.