Problem with a law like cuм Ex is that what happens if 10 Cardinals think a papal claimant is a heretic and 10 do not? What determines the objective existence of this condition? In that sense, it would indeed have been difficult to enforce. Or, rather, enforce may not be the right word; it would have been very difficult to apply in practice in most scenarios.
There are more problems with cuм ex, one of them is, what if only one out of the 9 cardinals is a heretic, and it's the heretic cardinal that casts the deciding vote?
cuм ex has no exceptions for ex-heretics, i.e. heretics who've abjured their heresy. If they were ever suspected of heresy, they're done, finito, excommunicated, lose their office, can't be promoted, can't vote, can't be elected. Today, among other heresies, that would mean anyone who was ever NO could not even be ordained a priest. Or how about a BOD or EENS diluters? Those three things cover pretty much the entire clergy for the last 50 years at least.
If it could have been enforced back then I don't know, but if still in force today, there would be zero priests, bishops, cardinals, popes etc., - as the old poster AnEvenSeven, who was a dogmatic sede, believed.