You mean like what Jesus got
Actually Jesus was charged under Jewish laws and faced a Jewish trial, This was because Jesus was a Jew and not a citizen of rome in a Jewish administered province.
The jew's took him before the Roman authorities for permission to execute after being found guilty if a crime under Jewish law not Roman law.
In atleast one account it's even suggested that Pontius (or whatever his name was) said he "found no fault with this man" but due to him refusing to say he wasn't a Jew he's bound by Jewish law, under Jewish law he was guilty as such the Roman's were forced to carry out the sentience.
Think of it in terms of limited sharia law in some country, I can't remember the exact one (it's an Asian country) they have police that check the lengths of Muslim women's dresses, if found guilty then they are taken before a Islamic court and tried once found guilty. A normal judge ensures the woman is guilty under sharia law and is then sentenced in line with the agreed upon punishment.
The state carries out the punishment but a non Muslim would never be charged with that offence nor tried by a sharia court.