There is no legal bar preventing Catholics being Prime Minister, by the way. They just can't advise the Monarch on Ecclesiastical matters. The same difficulty would arise were Miliband to become PM, since he is a joo and thus covered by the Jews' Relief Act of 1858 making the same provision.