There is no way to avoid the riots. Anything less than guilty on all accounts and max sentence, you will get riots due to claims of not getting justice.

If found guilty on all accounts and max sentence, you will get riots to say "see, they are racist"