It was perhaps not quite how officials, in London at least, had envisaged the announcement of the state visit would be made.