Boils down to one thing
The need to know. Did this judge have a need to know if it is not one of her cases ? They might call it computer misuse but it is more likely (if it was more recent anyway) a GDPR violation. Any sensible system should lock all users who don't have a need to know out of information they shouldn't be viewing. So poor design and a very poor choice by the judge.