If it was a local politician working with the government, nothing would have happened, the judges would have declared him innocent on a technicality or the issue made linger for a while until it expired.
If it was an opposition politician, he would have gotten flogged in public.