mixed difficulty

If a psychologist were to break client confidentiality, under what circumstance would this be considered ethical?