This situation can be very 'overthought'.
Harassment is nasty. Bloke has been told to stop doing it..or else. He doesn't stop so is taken through due process (warnings,court appearances etc) over a period of time. Last appearance, it's once again proven he hasn't stopped so he's banged-up. End-of.
That the original problem is a conspiracy involving the police, the courts and the medical profession is interesting but visit any magistrates or crown court and you'll find plenty of people with the same accusation.