See John 11:47–53, where the high priest Caiaphas argues that it is better to put Jesus to death than to take a chance on a popular uprising. In this case, John’s Gospel (in general highly symbolic and not very historical) may be closer to what happened than are the accounts of a Jewish trial in the Synoptic Gospels.