a case of mistaken identity

A case of mistaken identity is a literal term when you are speaking of a case of actual mistaken identity, such as the police arresting the wrong person. However, it can be used for a variety of instances in which the identity of someone was revealed to be different than what it was previously assumed to be, thus the term mistaken identity.