A handing over to the Gentiles certainly was not according to the normal expectations. The Jews were able and allowed to condemn and kill Jesus (although not on the day of their choice). However, Jesus knew before the Jews that they would not do it in this way.1
33 saying, “See, we are going up to Jerusalem, and the Son of Man will be delivered over to the chief priests and the scribes, and they will condemn him to death and deliver him over to the Gentiles.