If I remember correctly there is a whole system dedicated to party reputation toward law enforcement in the game files. It is still unused though, I guess it will be used for large places like Baldur? I also remember Swen talking about being able to get imprisoned.