Ponies would steamroll the Imperium.
There literally isn’t even a chance for the Imperium ships to get within the Solar System.
The second Celestia or Luna feel like it, they’ll grab the ships with telekinesis and either crush them like tinfoil, or chuck them into a Star.
Luna literally spends her free time organizing constellations.
If the imperium somehow got to the planet, their weapons would be useless against unicorn shields.
The Earth ponies are stronger on average, and the Pegasi are faster by far.
There’s even ponies with Toon Force that legitimately cannot die.
Honestly, just throw Pinkie Pie at them and she’ll be fully capable of disabling an entire army.
It’s not even a contest.
Adding in Discord would be overkill.
Celestia and Luna can detect anomalies in their solar system and deflect or obliterate them fairly easily before they even realize that there’s life on the planet.
We have one Celestia who casually moves the SUN, and we have one Luna who casually mixes and matches the constellations for FUN.
Discord has literally shown the ability to convert others minds into anything he wants. He casually tosses around entire solar systems because he thinks it’s funny and can literally turn everything into icing.
There isn’t a single entity in all of Warhammer that could touch him. Discord literally shows the ability to influence other franchises while still in his and has created entire universes for fun.