[After Pilate said he found nothing wrong with Jesus, his accusers] became insistent. "But he is causing riots by his teaching wherever he goes — all over Judea, from Galilee to Jerusalem!"
"Oh, is he a Galilean?" Pilate asked. When they said that he was, Pilate sent him to Herod Antipas, because Galilee was under Herod's jurisdiction, and Herod happened to be in Jerusalem at the time.
Herod was delighted at the opportunity to see Jesus, because he had heard about him and had been hoping for a long time to see him perform a miracle. He asked Jesus question after question, but Jesus refused to answer. Meanwhile, the leading priests and the teachers of religious law stood there shouting their accusations. Then Herod and his soldiers began mocking and ridiculing Jesus. Finally, they put a royal robe on him and sent him back to Pilate. (Herod and Pilate, who had been enemies before, became friends that day.)
— Luke 23:5-12 NLT
The trials of Jesus were nothing more than mock trials. None of them was about justice. The Sanhedrin (the Jewish council) accused Jesus of one thing in their own meeting  and then of something else before Pilate.  Pilate pronounced Jesus innocent,  yet kept the pseudo legal proceedings going for political expediency. Herod had no desire to do the right thing; he was determined to do the politically convenient thing. This process was nothing more than treachery. Jesus was not treated fairly. He did not receive justice. What was done to him was what God decried throughout the Old Testament through the prophets — there was no justice in the courts, and those with money and power misused their influence. Sinners and traitors convicted Jesus. He was the innocent lamb led to slaughter. He was the perfect sacrifice for all who are sinners ... even for us and for those who put him to death.
Father, it breaks my heart to see your Son treated with such treachery. While it angers me, it also helps me bear those times when I am treated unfairly. I know that Jesus is with me in those times and that he more than understands my emotions. Jesus, thank you for walking in our unfair and often cruel world as one of us so that we can share eternity with you. In your name. Amen.