Another thought. Assuming such a dataset (laws+ judgement) could be built, an argument can be made to Parliament to draft new laws that take into account all those judgments and then mark those judgments and old laws in a way that they can no longer be referenced (archived?). This might simplify future cases leading to lower legal costs.

And who knows maybe a way could be found to create smart contracts (smart oracles? smart judges?) and those could lead to instant judgements.