Yeah but I just don't like it.
It's a mission that could result in the death of numerous NPCs from store owners to quest givers and that's annoying and if you opt to prevent this, you end up helping the ass that's responsible for sending you to jail in the first place.
It's just a lose lose situation.