Shininess in Kalos bred/caught is related to a
shiny value.
To be precise, the shiny value is derived from the TID and SID relationship with 0-15 (out of 4095). (total 4096 slots).
If we look back at the fundamentals of how the game recognises a Pokemon to be shiny:
TrainerID xor SecretID) xor (PersonalityValue>>16 xor (PersonalityValue mod 65536)) must be less than 16,
This results in a probability of 16/65536 or 1/4096
From what I read, Datel is trying to maintain TID of the Pokemon.
So either the SID or the PID is changed.
Either it changes the SID, so that after the xored it'll be in the range of 0-15.
Easy test: As the SID of the Pokemon itself (not the trainer) is changed, the trainer shouldn't be able to rename it.
Else, it's the PID changed to fit the TID and SID.
(but I remembered reading it to be SID that is changed..)