The queen consort previously wore the dress for an event at Buckingham Palace on May 9.