Totally, but I think there was more than one mistake in that instance.
After the rush calmed down people started saying "hang on, what's this pizza doing here", then they made a new one and delivered it.
Of course the correct thing to do is issue an apology and refund with the replacement.