2417 Those who suffered with him also added to his dishonor, for they crucified with him two others, who were criminals, as Luke mentions (Lk 23:33). One on either side, one on the right and one on the left, and Jesus between them, in the middle. Even in his suffering Christ stood in the middle, a fact that the Jews intended should add to his dishonor, for it implied that the cause of his death was similar to that of the criminals: "He was numbered with the transgressors" (Is 53:12).
But if we contemplate this mystery, we see that it is related to the glory of Christ. It shows that by his suf...fering Christ merited the authority to judge: "Your cause has been judged as one of the wicked. You will recover cause and judgment" [Job 36:17]. And it is the function of a judge to be in the middle of the parties; so the Philosopher says that to go to a judge is to go to the middle. Christ was also placed in the middle, one on his right, another on his left, because in the judgment he will place the sheep on his right, and the goats on his left. It was the criminal on his right who believed and was saved; the one on his left, who reproached him, was condemned.
Source: Commentary on John