Court ruling highlights breaches of confidentiality