It was a rhetorical device, Pius, the use of a hypothetical to make a point.
It did not contradict Catholic teaching since it was using what a hypothetical, normal female in that position could have been thinking to illustrate how in contrast the real Mary faithfully stayed beside her Son even in a horrendous situation.
Surely you see that.
The Mother of Jesus was the perfect icon of silence, the Pope said. From the proclamation of her exceptional maternity at Calvary. The Pope said he thinks about how many times she remained quiet and how many times she did not say that which she felt in order to guard the mystery of her relationship with her Son, up until the most raw silence at the foot of the cross. The Gospel does not tell us anything: if she spoke a word or not She was silent, but in her heart, how many things told the Lord! You, that day, this and the other that we read, you had told me that he would be great, you had told me that you would have given him the throne of David, his forefather, that he would have reigned forever and now I see him there! Our Lady was human! And perhaps she even had the desire to say: Lies! I was deceived! John Paul II would say this, speaking about Our Lady in that moment. But she, with her silence, hid the mystery that she did not understand and with this silence allowed for this mystery to grow and blossom in hope.*
There is NO hypothetical there. He is speaking of "Our Lady", the Mother of God, not a "normal female".
The mental gymnastics continue....