The objection implicit in 2Vermont’s question is the assertion that Torquemada was only considering the pope teaching heresy either as a private doctor (ie, not in his magisterial capacity), or, only to private individuals or groups (but not the universal Church).
But both objections are easily refuted not just from the context of the book from which they are taken (more citations later), but also from an appeal to reason:
Torquemada says we must obey the good commands of the pope, but resist his bad commands.
But since the pope has no authority to compel us to do anything as a private doctor (unless we are speaking of matters pertaining to the confessional), it necessarily follows that Torquemada was considering the pope teaching in his magisterial capacity.