I think you are putting too much faith in the courts. They are independent, but they have shown time and again that they will interpret the law how they like. They don't live in a vacuum and they certainly aren't free from, or blind to political considerations that influence their decisions, like the rest of us. Ofcom are very clearly the sort of people who want to apply the most open ended and widespread use of the powers they can in a misguided effort to save the public from themselves and i have very little confidence that our judges are not cut from the same cloth. I won't go so far as to say they would collude with ofcom, but i do think they are more likely to side with them over the defendants, however weak the case may be.
The problem is the law is worded in the vaguest way possible and ofcom in exceptionally bad faith have refused to give any clear guidance on what they will and won't prosecute. Our politicians in their arrogance have passed this law, so expect no help from them.