When your pet dragon has been very naughty, a special sort of punishment is required for them so as to help them "learn" their lesson. Appears Rarity is quite well placed to perform such a punishment.
I take no credit for this comic, all credit goes to the origial artist: Pia-Sama.