Probably. The person holding the sword could only have said that he is Isildur's heir and he would have gone away with it for now. But after, when all the orcs are destroyed and it's time to free the ghosts, power that only Isildur's heir can have, they would notice his fake and kill him... oh but would they kill him 🙄