Marking someone as a flight risk for committing a crime is common practice in all countries.
I guarantee the same would've happened in the US if this was the reverse situation.
> for committing a crime
What’s the crime?
> for committing a crime
What’s the crime?