And so were Joe Biden and Nancy Peℓσѕι. That still doesn't mean they are Catholics. They do not profess the True Catholic Faith and therfore are not Catholics.
Unfortunately, once one is baptised a Catholic, one remains canonically Catholic forever unless one formally defects from the Church.
Even the excommunicated remain canonically Catholic, otherwise they would no longer be subject to the Church's discipline.
It is very easy to confuse sinfulness and being a "bad Catholic" with leaving the Church. Biden and Peℓσѕι are certainly moral heretics. Are they doctrinal heretics? They are certainly bad Catholics, but no authority has declared them excommunicated neither have they defected from the Church.
The contemporary claimants to the Papacy -- Roncalli possibly although certainly Montini down through Bergoglio -- have been heretics prior and during their claimed papacies. As such, their papacies were void or at least doubtful since they were manifest heretics. However, none of them were excommunicated or personally defected from Church membership, so they remained Catholics, albeit in bad standing. Had any renounced their heresies, they would have been restored to grace, restored to good standing in the Church, and the defect in their claimed papacy would have been healed so that they could have become formally and truly Pope.