Queen Margrethe II attended Queen Elizabeth’s funeral and is now Europe’s longest-serving head of state.