Let's say that I have a female Zorua. With illusion, it appears as a male Gallade. If the female opponent uses attract, what happens? Does Zorua become infacturated? Does attract fail? Does the illusion break? That's the question.
Attract will fail, and the illusion will stay, and your opponent might rage quit, and accuse you of hacking XD