Collect evidence. Tell someone early on - as a potential witness not as someone in the line management.
I was told that my line manager was a top hole bloke in whom his senior officer had every faith.
THEN I hit him with the evidence.
At least I got the bastard off my case even. I did not need to go through the redress procedure. But of course when you have a union <g>.