Pakistan has a strange gift: just when the world begins to take it a bit seriously, it produces an 'oops' moment so spectacular that the script writes itself.