Many years ago, I read a great bio of the Pythons.
There was a bit which explained that in order to head off any danger of prosecution under various obscenity or blasphemy acts, they asked (I imagine paid 😀) well known barrister John Mortimer to review the scripts.
He advised them that a barristers opinion was just that, and as such useless in any legal setting. There was also the added frisson that seeking a legal opinion would immediately remove any defence of ignorance.