Probably Monmouth. You saw how OTL Anne excluded all those Catholics? Their descendants regardless of religion were too.
Modern interpretation of the Act (until the recent changes) - was that becoming or marrying a Roman Catholic excluded only the individual and any issue raised in the Roman Catholic faith - so Prince Michael of Kent was excluded on his marriage but his children being Anglican were considered to be in the succession (Michael of Kent was restored to his place after the succession act of 2011 which removed the marriage restriction).
The argument being that at the point an individual became heir presumptive or apparent - a judgement would be made on their eligibility under the terms of the act - 1) Is that individual the senior heir general of Sophia of Hannover, 2) are they in communion with the Church of England, 3) Are they Roman Catholic 4) Are they married to a Roman Catholic.
The original framers of the act did not probably foresee a situation where a person marrying a Roman Catholic would not raise their children in that faith - so the original intent was probably to exclude the line from that individual for all time.
The Act of Settlement - That all and every Person and Persons that then were or afterwards should be reconciled to or shall hold Communion with the See or Church of Rome or should professe the Popish Religion or marry a Papist should be excluded and are by that Act made for ever incabale to inherit possess or enjoy the Crown and Government of this Realm and Ireland and the Dominions thereunto belonging or any part of the same or to have use or exercise any regall Power Authority or Jurisdiction within the same And in all and every such Case and Cases the People of these Realms shall be and are thereby absolved of their Allegiance And that the said Crown and Government shall from time to time descend to and be enjoyed by such Person or Persons being Protestants as should have inherited and enjoyed the same in case the said Person or Persons so reconciled holding Communion professing or marrying as aforesaid were naturally dead