mistaken identity

Definition

noun
  • a situation where someone is wrongly thought to be another person
    Example He was arrested for burglary, but released after it had been established that it was a case of mistaken identity.
Law-Glossary.com
www.law-glossary.com/definition/mistaken-identity.html