I can understand taping a conversation—I once went to a therapist who recorded our discussions in order to remember everything—but she asked my permission and I knew it was happening.
Otherwise, it seems like a violation of trust by that lawyer, which goes against the oath that attorneys take.