Ehm, i just checked the legality of swampert and he is a hacked pokemon.
He is even listed on the blacklist thread of this forum. You can keep the heatran, no problem, but please remove the Swampert from your thread and please dont trade the heatran to others if possible? Sorry to be the one to give you bad news. I know you didn't trade me a hacked pokemon on purpose.