Quoted By:
Transferring to Gen 6 is only possible through Pokémon Bank. Any illegitimate Pokémon attempting to be transferred will be denied.
GameFreak's server-based hack detector will search a Pokémon's data down to the very last byte, and reject any Pokémon with missing or incorrect data.