Police want to take criminals off the streets, prosecutors sometimes make deals with criminals to get someone worse off the streets, and corrections parole these same criminals back out to the streets after they are prosecuted.
The main conflict between state, federal and local offices is jurisdicition. Not sure how to change that.