His continued service in diplomatic posts and in the Roman Curia saw him named Apostolic Delegate to Canada and domestic prelate in 1897 and then president of the Pontifical Academy of Ecclesiastical Nobles (an institution connected to the Roman Curia, in charge of the formation of priests who are to serve in the Diplomatic Corps of the Holy See) in 1899. He was appointed Titular Archbishop of Nicaea on 19 April 1900 and consecrated a bishop by Mariano Rampolla del Tindaro, Cardinal Secretary of State of Pope Leo XIII. In 1902 he was the papal representative to the coronation of King Edward VII, accompanied by Eugenio Pacelli.