The UK leader's speech took on the feel of a bad dream as one unexpected event followed another.