I think you are making the water murkier by trying to imagine what you think the process is/should be. The fact remains that the law has been violated on a mass scale, by government, and this has now been adjudicated in a court of law.
In the UK system, when this happens the courts can order Parliament to review law X to make amendments so the laws are consistent. The Government can choose to appeal this to a higher court or they can choose to amend the law. (Incidentally this differs from the US system in that the court doesn't say what the new law should be - but rather says that a section of the law is invalid in a certain way and must be changed - a job then left to the politicians).
No law has been disobeyed at all here - rather two perfectly valid laws have been created that are in disagreement, and the court is ordering that the disagreement be resolved in favour of one.
The Human Rights Act is designed as a way to allow courts to push back on certain kinds of legislation - this ruling is a normal part of the legislative process not any indication of criminal wrong doing by anyone.