It doesn't need to be perfect, it just needs to be good enough. In real life, the likelihood of twins perfectly emulating each other, and then using that to deceive others for anything but playful intent is low enough to be acceptable. If a solution is good enough that exceptional corner cases are rare and typically harmless, then it's good enough for adoption.
But then there are twins, so... The "problem" pre-existed.