Really? I wouldn't assume that at all; it's very much not their job, and it's not unusual for the courts to cause the government significant trouble and embarrassment. A judge's job is to uphold the law, not to be a political actor. And the UK's judges, by and large, have a reasonably good reputation for sticking to it.