I honestly have no idea what was wrong with these men, Pius XI and Pius XII. Were I Pius XI, I would have performed the consecration the next day or, rather, as soon as I could arrange to order all the bishops of the world to do it also. I would have declared any bishop who does not comply ipso facto deposed, and therefore every bishop of the wordl will have performed the consecration.
Pius XII claims that he personally witnessed the Miracle of the Sun in the Vatican gardens FOUR TIMES. If that wasn't a message to him, then I don't know what could get through his skull.