Personally, I like the philosophy of "the ball was dead, even though the players thought it was live". It makes it a little harder to swallow in this case, though, when the officials "state and administer" the wrong number of free throws. That means that even the officials believed the ball was live.
Frankly, I like the ruling; but I don't think it actually follows the rule.