If I had a dollar for every domestic violence victim who refused to press charges and wound up dead
We’ll see a lot more people putting up signs, “Warning: We don’t call 911” or simply refusing to report crimes at all.
The prosecutor is between a rock and a hard place. Try to help someone who is really not in her right mind (the way these silly women moan, "Oh, but I luvvvvv him!" while they are black and blue with broken bones, makes you want to slap them silly until you realize that they really are not sane) and the cop-haters launch on you. Let them refuse to press charges, the violence escalates until they die, and then the law-and-orders launch on you for failing to protect the victim.
It is absolutely possible for a judge to hold a witness in contempt for refusing to testify, whereupon they wind up . . . in jail. This appears to be the same destination for the same reason, but by a statutory route.
If there's a problem with the law, the legislature needs to address it. But I don't think we're getting the whole story here.