He granted Pius IX the Law of Guarantees (13 May 1871) which gave the Pope the use of the Vatican but denied him sovereignty over this territory, nevertheless granting him the right to send and receive ambassadors and 3.25 million liras a year.
The Law of Guarantees seemed, at least on paper, a reasonable solution after the take-over in Rome.