I was 13 or 14 when I first saw that movie (and around that time the Flying Circus series)...let’s say it influenced my sense of humor into later life...:)
But, frankly, I do not quite understand your argument.
Yes, a court in Scotland issuing that ruling based on “perceived motive” seems a travesty. OK, check.
But then, this is not the Supreme Court of the UK. Formerly, as you rightly point out (not that I know any better, not being a subject of Her Majesty), it would ultimately be up to either The Crown or the HOL (House of Lords).
HOW is there any advantage in THAT?
The HOL is mostly a collection of degenerate hereditary upper class twits (another Monty Python reference!) and more recently, if I read the press correctly, a sub-collection of utterly corrupt political hacks - commies, muslim extremists, and all that.
And then there is The Crown. I must say that I respect the current Queen (not the institution as such) just based on her personal history and conduct. Impeccable. Now close your eyes and think “King Charles” (or, worse, following some unfortunately devastating meteor shower, QueenKing HarryMeghan)...
Eeeek, you’d prefer those lunatics over an independent Supreme Court?
Of what is an independent Supreme Court independent?
In the USA, the Supreme Court is independent of the will of the sovereign, making increasingly bizarre rulings to which the people or their representatives would never consent.
This is what the UK faces now.