King James 2nd and the Catholic papacy