You're right. Apple knew all along, after pouring over the historical data points that there would not be enough iPhone 5S's for launch day.
I wonder why they didn't mention that during the Keynote address, since they obviously knew it then...
What company pre announces that supplies will be constrained?