The prosecuting attorney is a dick. Sorry if that language is offensive, but this entire case is offensive and no other term springs to mind that more aptly describes the prosecutor.
In earlier years we would say what’s so offensive about his being a detective? :-)
Yeah, he is acting evilly.