Not at all.
The hero overcoming adversity and eventually succeding is the meat and potatos of any adventure stuff.
To avoid the mess that comes with trying to get PC's to surrender; you might start a few hours later, say, in the holding tank, after the sentencing, or being transported to the...