This makes voter intimidation much easier though. Nobody without a court order can check how I've voted, and can't ask me to show how I've voted.
I don't know of any reason why it could be accessed, though since parliament is sovereign "if a judge agrees" is always a safe disclaimer to add since the underlying law can be set.
It's hard for me to express what a terrible idea this is. Pray you never get a government that would exploit this.