Dude is likely going to win when it comes to the civil suit. He should go after the medical licenses of each and every individual involved. The cops are obviously beyond kidnapping, rape, sexual assault, etc charges, which should be applied. Maybe he can try to get the judge debarred, but that's an even further long shot.
The cops and the judge are protected, the medicos are not. Sue the facility, the docs, the nurses, etc. Individually and the corporations involved. It'll disincline other medical professionals from being such jackboot sucking scum. At least one doc had a brain and refused to play along. Ideally, because it was unethical, rather than merely fear of being sued.
If you help law enforcement officers repeatedly anally rape an innocent person, your life should be destroyed, because you deserve it.