Christ was given the death penalty.  He was innocent.

At no point did he suggest that Pilate did not have the moral authority to condemn him to death.  Quite the reverse.  He confirmed that within this world Pilate DID have that authority and that His Kingdom was not of this world but the next world.

He could have been sacrificed outside of the law.  Strange that He chose to be executed within the law.