President at dinner hosted by Queen