2418 The Evangelist just told of Christ's crucifixion; now he mentions things that accompanied and followed it: first, as they relate to Pilate; secondly as they relate to the soldiers; and finally, he tells about Christ's friends who were standing by (v 25). Concerning Pilate, we see the title being written on the cross, its being read, and its retention.
2419 Two things are mentioned about the first of these. First, the writing of the title, Pilate also wrote a title and put it on the cross. This was understandable, for it was a way of getting back at the Jews by showing their malice in ris...ing up against their own king. It was also appropriate for this mystery, for just as inscriptions are placed on trophies of victory so the people will remember and celebrate the victory ‑ "Let us make a name for ourselves, before we are scattered abroad upon the face of the whole earth" [Gen 11:4] ‑ so it was arranged that a title was put on the cross so that the sufferings of Christ would be remembered: "Remember my affliction and my bitterness, the wormwood and the gall!" (Lam 3:19).
2420 Secondly, he mentions the content of the title, Jesus of Nazareth, the King of the Jews, words which are very fitting for this mystery of the cross. The word Jesus, which means Savior, corresponds to the power of the cross by which we have been saved: "You shall call his name Jesus, for he will save his people from their sins" (Mt 1:21). The word Nazareth, which means abounding in flowers, corresponds to the innocence of the one suffering: "I am a rose of Sharon, a lily of the valleys" (Song 2:1); "A flower will rise up out of his root" [Is 11:1]. The words King of the Jews accord with the power, the dominion, which Christ earned by his suffering: "Therefore God has highly exalted him" (Phil 2:9); "He shall reign as King and be wise" (Jer 23:5); he will sit "upon the throne of David and over his kingdom" (Is 9:7).
2421 Through his cross Christ is not just the King of the Jews, but of all people ‑ for after we read, "I have set my king on Zion," there follows, "Ask of me and I will make the nations your heritage" (Ps 6:8). Why then did the Evangelist write only King of the Jews? I answer that the Gentiles were grafted on to the abundant olive tree (Rom 11:17). And just like a graft comes to share in the abundance of the olive tree, and it is not the olive tree that acquires the bitterness of the graft, so those Gentiles who were converted to the faith were made spiritually Jews, not by a circumcision of the flesh, but of the spirit. And so in saying the King of the Jews, non‑Jewish converts are also included.
Source: Commentary on John