Those are hacked for story battles and online battles against people I know. Remember the battle with my legendaries? It's for things like that. I don't use a hacked team for battling random people. Also, I'm not using your Ditto. I've got one with my OT now, so don't even worry about that.
There are methods in place that prevent the use of any illegitimate moves, items, Pokemon, stats, or abilities in random online play. Since there is no real way to benefit from battling people you challenge specifically, there is no reason to disallow it. Also, Ame has stated that she does not care about hacking the game and it has been discussed many times always with the same result. I don't understand why people get so upset about it as there's no way to forcefully affect other's game experience or gain any sort of advantage over other players through battling.
But this isn't a thread to discuss the ethics of hacking a game. This is for looking for battles to potentially win a great Ditto, hacked or not.