If a heretic, any heretic lose office due to heresy, what about all the heretic bishops who made Vatican II possible? Was there actually "diocesan sedevacantism" before Vatican II?
I am not saying that I disagree with the Sedevacantism theory, but I have never seem these broader questions addressed.
For instance, we all know that John XXIII was Patriach of Venice before being elected to the papacy. Were all his acts as a diocesan bishop invalid? He was accused of heresy long before being nominated to the See of Venice.