Title says it all.
Just looking to see if there is a succinct term, legal or otherwise. Where a bad actor can use the letter of the law to negative and malicious effect despite the spirit or intent of the law being upended or broken.
E: like someone getting a rich man’s son who is a murderer off on a technicality. The law isn’t intended to let murderers go, but a wealthy person willing to prevent justice will exploit it to do so. A person cutting a budget or program that will result in (people going hungry, discrimination, death from lack of care or disease, whatever) knowing that this will be the result, but the law says they can change programs.
Edit: there isn’t a term. Thanks for the suggestions, though.
No, it’s becoming clear that there isn’t a term for what I’m looking for. And that’s fine.