A person accused of any wrongdoing should have the right to see the proofs of such a wrongdoing. Then, a student accused of cheating because having presented the same answer, work or file as any other student, should be allowed to see the answer, work or file of that other student.
On the other hand, students have the right to privacy, so their answer, work or files shouldn't be shown to other students, and this right conflicts with the former.
Then the question is: When two students are accused of cheating and the only proof is that they gave works or answers that we can be sure that are copied, how does the school balance the right of each student to see the proof (the other student's exam or work) and their right of privacy?
I'm not asking for advice for a particular instance of that problem, because until now all I've only had close calls - the students already knew what they had done or found out by themselves and no student actually requested to see the proof of cheating - but I'm interested on how such a request should be dealt with.
Additionally, in a specific case, I would escalate the issue to the Dean to be given specific instructions, but I'm still interested in the general answer.
If location matters, I'm under Spanish legislation.
And just to keep the question focused, we can assume that we can be sure that the answer is actually the same because of cheating - like when two students or teams turn on very similar Access files with each table created at the same exact time (to the second) that the equivalent table in other team's file.