The Lati@site is in the XY code.
Remember that Mega Lati@s was first discovered in the coding for X and y, but was not released until ORAS. It can Mega Evolve because the coding for Mega Latias, Mega Latios, the Latiasite, and the Latiosite were originally made in X and Y.