She didn’t mean that literally. Neither angels nor demons, being spirits and not human beings, can receive the sacraments. Neither could be baptised; neither could become Pope.
Could an evil person (I mean someone dedicated to a life of serious sin, not someone beyond repentance) become Pope or could the Pope, after being made Pope, become an evil person? Yes. He would be prevented from deceiving in those areas where the Holy Spirit has guaranteed the Church would teach the truth, but in other respects the Pope is not immune from temptation. He has to “work at” holiness. Considering his attractiveness as a target, he probably has to be more open to grace than he would have to in a more obscure position in the Church, in order to hope allow God to frustrate the designs of the evil one on his soul to the same degree.
God will protect his Church, however, and so the Pope will always deserve the level of respect due to the position he has been given.