Hi HOS,
Ignore Fliion, it's just not worth it.
The answer to your question is in the OM-A. It's in Chapter 7 Annex C.7 paragraph f.
The short answer is, yes, it was legal. There are a couple of provisions that needed to be met, and I suspect they were. You can argue whether it was the correct decision but there's no doubt it was legal.