That is what I thought. It is well known, even in Sedevacantist circles, that Bellarmine thought it impossible that a pope could lose the faith and the papacy, but that he considered this opinion not theologically certain. Therefore he discussed it, but his discussion doesnt mean he supports your position, just that he considered the issue.
patent +AMDG