Commentary Par XXVII 46-48

Christ will come in judgment and divide his flock into sheep (those who are saved) and goats (those eternally damned).  The sitting pope (in 1300, Boniface VIII) is charged with dividing his people into two political factions, the Guelphs loyal to him (his sheep) and his Ghibelline enemies (the goats).  This does not mean that Dante limited his list of papal offenders in this respect to one.