It wasn’t an apology for a military mistake, but a noblepony's tribute to an ally. Those, at least, could cross social boundaries. Heck, it was the most common way for non-noble ponies to become officers in the Royal Guard, before the Royal Artillery School and, more significantly, the Royal Officer Academy was founded.