Probably because you used a not-Japanese save file to catch it, thus having invalid trash bytes applied. Program working as intended.
The Gen3=>Gen4 transfer re-encodes both Nickname and OT, so the original trash bytes are not carried forward, hence the clean report in Gen4.