Please answer the following question: Here's a complex question that requires someone to reason about the input, can you answer it? Which Roman Catholic monarch of England, Scotland, and Ireland appointed Sir Brian O'Neill as judge?
A:
James II of England