Yes, this was composed by Pope Leo XIII after his reported vision of the conversation between Our Lord and Satan, where Our Lord offered Satan 75 years of greater control. So, then after the vision he composed this prayer, and I don't think that the reference to the Church's enemies replacing the See of Peter with their wicked throne was a coincidence, but is likely related to that 75 years of power in the vision, namely, that this power would consist of 75 years where he got control of the Conciliar Church.