(edited)
Can you elaborate on the scenario you described. Why would someone do this to their own outer? I think I get the underlying bug, but I scenario you outlined seemed pretty strange in the first place.