Official comment
First, for relocation rekordbox tries to match the filename. If you've changed the filename you can manually match it by pointing it to the new file.
If you are replacing the files, I would suggest you actually import them fresh as the beatgrid and waveform data could be slightly different from file to file. Any inaccuracy in the beat grid would potentially cause problems with sync and off-beat audio.