If there's a state law that local police aren't adhering to, there's only one course of action.
Clear the local police station with state police until replacements who can follow their own laws are found and properly trained.
The ones who refused to follow the law are subject to the full penalties of failing to do so.
In other words: STOP FUCKING TREATING THEM WITH KID GLOVES AND START TREATING THEM LIKE YOU WOULD ANYONE ELSE