Couldn't your friend call the warden and when they come to get or look at the dog tell them that she is willing to take the dog in and have it neutered rather then see it put down?

I'm not sure about laws in the states about this kind of stuff sorry.