This story is a sequel to Year Zero
Muffins at the End of the Universe IV
For many months Twilight Sparkle has pondered her role in the universe, while marooned in a crashed pod in the far future, eating reprocessed food and counting floor tiles to occupy her mind. Then she discovers a loophole in Equestrian colonial law, allowing her to rule over her new domain as princess, much to the annoyance of her colony's three citizens, Trixie, Derpy and Doctor Whooves.
As Twilight goes mad with power, treachery and revolution are in the air, as well as some explosive chemicals thanks to the Doctor, culminating in a finale of political intrigue involving a bubble wand and a rather dubious stick of celery.