We don't know what was in the mind of Pope Pius XII, his mind, he suffered and knew about what was coming; knew that there was a terrible crisis on its way from within and that many priests and bishops were already Modernism. Shortly before his death, he confided to a cardinal, “After me, comes the deluge.”
He was a True Pope (Pope Pius XII) because he did not change the Deposit of Faith, he kept the Faith, in spite of failings on what many traditionalists hear from those who always want perfection. Have Faith the reign of Mary, her Immaculate is on the way in God's time, not ours.