Hi, hope I'm posting this in the right place. I'm new to the community, need a little help to essentially just clarify that I'm doing things correctly. I'll try and be concise but there's a few moving parts here, so bear with me.
I'm using PKHeX to restore some mons I sadly lost when my Scarlet save data was wiped. Luckily the mons in question were all from Sun or earlier, so my plan is to just recreate them in my Sun save file and then use Poke Transporter to restore them to Home.
As is probably well known, there's an issue with the way Sun/Moon clears data out of the Resort. Due to this, you can use the 'Dump Box' feature in PKHex on a Sun save file and get a CSV with seemingly all of the Pokemon you previously had in your boxes, even if you've since used Poke Transporter to move them into home. This is really lucky for me, since it gives me a way of accessing the data of all the mons who I'm trying to recreate.
In this screenshot for instance, none of these pokemon are actually in my boxes in my Sun save file, and I can't access them looking through the boxes in PKHex either. They just exist as ghost data from when they were loaded into the resort.
My issue is that when I try to recreate the data as it is listed in this CSV, PKHex flags it as illegal. The Golem I have highlighted in the screenshot, his MetLoc in the csv is 'a link Trade (NPC)', and his origin game is Platinum. When I set those parameters in pkhex, though, I get this error:
But it can't be invalid. Because it's the data that is apparently stored by my original, totally unmodified and legit, save file from Pokemon Sun.
So what I'm ultimately asking is, am I misunderstanding some part of this, or is there a mistake in the legality checker here, such that it believes data is illegal when it isn't? I hope this all makes sense. Please ask away if I can provide more clarifying info. Thank you!