London (CNN) It was the moment when a famous, powerful dynasty, built on inherited wealth, hounded by tabloids and with a weakness for palatial, gold-encrusted residences met ... the British royal family .

The opening of Trump's often surreal state visit came as political tornadoes rage around the governments in Washington and London, and the President reigns supreme as the world's most divisive figure.

But the Queen, who started meeting presidents when Harry S. Truman was in the White House and she was a mere princess, earned a rarely seen deference and respect from the often raucous American commander in chief.

It's all but certain to be a temporary interlude, given that the sensitive politics of the trip -- including US visions for a retooled special relationship -- muscle to center stage Tuesday.

The President had flown into Britain looking for trouble -- firing off a tweet blasting London Mayor Sadiq Khan as "a stone cold loser" -- before Air Force One's tires kissed British soil in a puff of smoke.

But 66 years and one day from the time he watched the coronation on TV with his Scottish mother, Trump appeared enthralled and unusually engaged alongside the 93-year-old head of the Commonwealth and Defender of the Faith.

Finally on equal footing

Trump was once spurned as too vulgar and self-promoting for the most exclusive circles in Manhattan. But here he was on equal footing with the world's longest serving monarch and the latest in a privileged line of kings and queens dating back more than 1,000 years.

At the state banquet, Trump, smartly dressed in white tie, praised the Queen as a "great, great woman."

"She has embodied the spirit of dignity, duty and patriotism that beats proudly in every British heart," he said.

The Queen, while warmly praising Trump and America, was nevertheless pointed in her praise for post-World War II security structures that the President has often criticized.

"After the shared sacrifices of the Second World War, Britain and the United States worked with other allies to build an assembly of international institutions, to ensure that the horrors of conflict would never be repeated," said the Queen, who wore a state evening gown with a blue Garter sash secured by a broach bearing 10 diamonds that once belonged to Queen Victoria.

"While the world has changed, we are forever mindful of the original purpose of these structures: nations working together to safeguard a hard-won peace," the British monarch said.

Photos: In pictures: President Trump in Europe US President Donald Trump, visiting the Normandy American Cemetery in France, participates in a ceremony to commemorate the 75th anniversary of D-Day on Thursday, June 6. Hide Caption 1 of 45 Photos: In pictures: President Trump in Europe Trump and his wife, Melania, visit the graves of troops who died on D-Day. Hide Caption 2 of 45 Photos: In pictures: President Trump in Europe The Trumps are joined by French President Emmanuel Macron and his wife, Brigitte, as they watch a flyover on June 6. Hide Caption 3 of 45 Photos: In pictures: President Trump in Europe A World War II veteran shows Trump a photo of himself with the President. Hide Caption 4 of 45 Photos: In pictures: President Trump in Europe Trump addresses the commemoration ceremony in France. Hide Caption 5 of 45 Photos: In pictures: President Trump in Europe Macron and Trump embrace during the D-Day ceremony. Hide Caption 6 of 45 Photos: In pictures: President Trump in Europe A World War II veteran looks over Trump's shoulder during the commemoration ceremony. Hide Caption 7 of 45 Photos: In pictures: President Trump in Europe At a D-Day event held Wednesday, June 5, in Portsmouth, England, Trump reads a prayer that President Franklin D. Roosevelt gave over the radio on D-Day. Hide Caption 8 of 45 Photos: In pictures: President Trump in Europe Trump heads back after speaking at the event in Portsmouth on June 5. Hide Caption 9 of 45 Photos: In pictures: President Trump in Europe Britain's Queen Elizabeth II and Prince Charles play host to the Trumps at the D-Day event in Portsmouth. British Prime Minister Theresa May is at left. Hide Caption 10 of 45 Photos: In pictures: President Trump in Europe Trump meets with German Chancellor Angela Merkel on the sidelines of the D-Day event in Portsmouth. Hide Caption 11 of 45 Photos: In pictures: President Trump in Europe The Trumps pose for a photo ahead of a dinner at Winfield House in London on Tuesday, June 4. Joining them, from left, are Woody Johnson, the US ambassador to the United Kingdom; Camilla, the Duchess of Cornwall; Prince Charles; and Johnson's wife, Suzanne Ircha. Hide Caption 12 of 45 Photos: In pictures: President Trump in Europe Trump and Prince Charles share a toast at Winfield House. Hide Caption 13 of 45 Photos: In pictures: President Trump in Europe Trump and British Prime Minister Theresa May speak at the dinner on June 4. Hide Caption 14 of 45 Photos: In pictures: President Trump in Europe Melania Trump spends time with Camilla and Suzanne Ircha, the wife of the US ambassador. Hide Caption 15 of 45 Photos: In pictures: President Trump in Europe Brexit Party leader Nigel Farage, center, arrives at Winfield House, where the Trumps are staying during their visit. Hide Caption 16 of 45 Photos: In pictures: President Trump in Europe Trump and May give a joint news conference on June 4. "I think she's done a very good job," Trump said, reversing past critiques of her failure to strike a Brexit deal that both Parliament and the EU can accept. Hide Caption 17 of 45 Photos: In pictures: President Trump in Europe Trump and May are followed by their spouses as they make their way to the news conference in London on June 4. The President offered plenty of praise for May, who recently announced her resignation. Hide Caption 18 of 45 Photos: In pictures: President Trump in Europe Philip May and Melania Trump attend a garden party at No. 10 Downing Street. Hide Caption 19 of 45 Photos: In pictures: President Trump in Europe Larry, the No. 10 Downing Street cat, sits underneath The Beast, the presidential armored Cadillac. Hide Caption 20 of 45 Photos: In pictures: President Trump in Europe Trump speaks opposite May at a business roundtable discussion in London. Hide Caption 21 of 45 Photos: In pictures: President Trump in Europe Trump stands next to Queen Elizabeth II before a state banquet at Buckingham Palace on Monday, June 3. Joining them are Melania Trump, Prince Charles and Camilla. Hide Caption 22 of 45 Photos: In pictures: President Trump in Europe The state banquet had a few hundred guests, including several of Trump's children. Hide Caption 23 of 45 Photos: In pictures: President Trump in Europe Trump and the Queen laugh during the state banquet. Hide Caption 24 of 45 Photos: In pictures: President Trump in Europe The Trumps tour Westminster Abbey on June 3. Hide Caption 25 of 45 Photos: In pictures: President Trump in Europe The President signed the guestbook at Westminster Abbey. "Thank you so much," his message said. "This has been a great honor. Special place." Hide Caption 26 of 45 Photos: In pictures: President Trump in Europe The Trumps are joined by Prince Andrew as they pay their respects at the Tomb of the Unknown Warrior in Westminster Abbey. Hide Caption 27 of 45 Photos: In pictures: President Trump in Europe The President's convoy drives down Pall Mall in London on June 3. Hide Caption 28 of 45 Photos: In pictures: President Trump in Europe Queen Elizabeth II welcomes the Trumps to Buckingham Palace. She took them on a tour of the royal collection. Hide Caption 29 of 45 Photos: In pictures: President Trump in Europe Among the items on display was "American Pewter Thoroughbred," a gift that Trump gave the Queen last year. Hide Caption 30 of 45 Photos: In pictures: President Trump in Europe Trump inspects a guard of honor at Buckingham Palace. Hide Caption 31 of 45 Photos: In pictures: President Trump in Europe The US National Anthem is played during a welcoming ceremony at Buckingham Palace. From left are Melania Trump, the Queen, Trump, Charles and Camilla. Hide Caption 32 of 45 Photos: In pictures: President Trump in Europe British Army troops fire a cannon in London's Green Park to mark the beginning of Trump's visit. Hide Caption 33 of 45 Photos: In pictures: President Trump in Europe The Queen greets the President as he arrives at Buckingham Palace. Hide Caption 34 of 45 Photos: In pictures: President Trump in Europe Prince Charles greets Trump as he steps off Marine One at Buckingham Palace. Hide Caption 35 of 45 Photos: In pictures: President Trump in Europe The Trumps are welcomed in London by Charles and Camilla. Hide Caption 36 of 45 Photos: In pictures: President Trump in Europe Trump's daughter Ivanka, who is also advisor to the President, looks out of a window at Buckingham Palace. Hide Caption 37 of 45 Photos: In pictures: President Trump in Europe People outside Buckingham Palace photograph the Changing of the Guard ahead of Trump's arrival on June 3. Hide Caption 38 of 45 Photos: In pictures: President Trump in Europe The Trumps arrive at Winfield House, the residence of the US ambassador, on June 3. Hide Caption 39 of 45 Photos: In pictures: President Trump in Europe Amnesty International installs "Resist Trump" banners on Vauxhall Bridge in London. Hide Caption 40 of 45 Photos: In pictures: President Trump in Europe Marine One flies past the BT Tower in London. Hide Caption 41 of 45 Photos: In pictures: President Trump in Europe The Trumps walk toward Marine One after arriving at London's Stansted Airport on June 3. Hide Caption 42 of 45 Photos: In pictures: President Trump in Europe The President salutes troops as he and the first lady arrive at Stansted Airport. Hide Caption 43 of 45 Photos: In pictures: President Trump in Europe Trump is greeted by UK Foreign Secretary Jeremy Hunt after arriving at the airport. Hide Caption 44 of 45 Photos: In pictures: President Trump in Europe The Trumps arrive at Stansted Airport. Hide Caption 45 of 45

Earlier, breaking with formality, the President chatted good-naturedly with guardsmen in their towering bearskin busby hats who were lined up in his honor in the gardens of Buckingham Palace as field guns thundered a salute.

Heirs from both families looked on. Trump was greeted at the door of Marine One by Prince Charles and his wife, Camilla, Duchess of Cornwall. Trump's eldest daughter, Ivanka Trump, and her husband, Jared Kushner, who is embroiled in a fresh political storm back home , peered from a palace window.

As the Queen shepherded Trump around an exhibition of artifacts paying homage to the US-UK relationship, he for once didn't try to steal the scene or give in to his limited attention span.

The Queen presented Trump with an abridged first edition of "The Second World War" -- the historical epic that helped her first prime minister, Winston Churchill, win a Nobel Prize for literature.

In the monarch and the President's wake, Trump's West Wing courtiers, such as Kellyanne Conway, Sarah Sanders and Stephen Miller, marveled at treasures that included an 18th-century map of New York and pictures of St Andrews, the home of golf.

Also on hand, was Prince Harry -- the focus of particular attention since the President caused a stir with remarks about his American wife, the Duchess of Sussex. Trump said he "didn't know that she was nasty" in a weekend interview over her previous criticisms of him.

'Crowds of well wishers'

An exuberant Trump tweeted before the state dinner that the "London part of trip is going really well. The Queen and the entire Royal family have been fantastic," and referenced "tremendous crowds of well wishers."

But he couldn't resist a swipe at "fake news" journalists who he said would do their best to find protesters, and in a lull in his schedule he took a jab at Mexico for not doing more to stop flows of migrants toward the US border.

But for most of a harmonious day, questions about impeachment, widening trade wars, showdowns with Iran and North Korea, Trump's constant political scheming and protests that attest to his unpopularity in the UK seemed relics of another world.

Never mind that Trump had spent most of the weekend meddling in Britain's domestic political crisis from Washington. Or that the lavish ceremony laid on by his hosts more recalled the glories of a lost empire than the crisis of national identity that threatens to rip the small island kingdom apart.

At the ornate state banquet, Trump and the Queen sat at the head of the table.

The members of the Trump family -- in their role representing America -- sat between royals. First lady Melania Trump, wearing a Dior Haute Couture ivory silk crepe gown, sat next to Prince Charles, who is taking on more and more duties as the future king. Kushner was beside the Queen's daughter, Princess Anne. Ivanka Trump sat next to Sophie, the Countess of Wessex, for the meal of steamed filet of halibut and saddle of new season Windsor lamb.

The purpose of such adulatory treatment -- which was also offered to Chinese President Xi Jinping in recent years -- is to grease the wheels of statecraft.

The bet is that targeting Trump's weakness for exaggerated shows of respect will make him look kindly on Britain amid its deepest political crisis since World War II.

Yet experience suggests that the unpredictable and often self-absorbed President rarely draws such straight lines and he's less deflected from his ideological aims than it's often assumed.

He marveled at being guest of honor on Bastille Day on the Champs-Elysees but that didn't stop him breaking with French President Emmanuel Macron when politics pulled them apart.

Foreign policy dictated by domestic policy

Trump's foreign policy is often calculated to advance his domestic political goals -- one reason why he has so fulsomely embraced Israeli Prime Minister Benjamin Netanyahu and his aspirations. So it doesn't follow that he will be so transfixed by his visit with the Queen that he will put Britain's interests before his own in the post-Brexit era.

The opposite looks to be true. By being so outspoken in favor of pro-Brexit Conservative candidates to succeed outgoing Prime Minister Theresa May, Trump is pushing his own political interests.

A weakened European Union and a more independent Britain that has ditched the idea of multilateral progress fits with the vision of nation-states pursuing their own interests first embraced by Trump and his national security adviser, John Bolton.

Trump is due to hold talks with May's team on Tuesday before a joint news conference, which will be closely watched for signs of awkwardness between the two trans-Atlantic leaders.

The President has frequently lambasted May's handling of Brexit negotiations with Europe, most recently in an interview with The Sun over the weekend . While he insists he still respects May, Trump is unlikely to show her the kind of deference he reserved for the Queen.

His state visit, however, might not have happened without the beleaguered Prime Minister, who will on Friday call a Conservative Party leadership vote to find her replacement.

She rushed to Washington soon after Trump was inaugurated in 2017 with a highly unusual invitation for such a visit in a President's first year -- seeking to forge a bond that could magnify her own power. But she was lampooned back home for being pictured holding Trump's hand in the Rose Garden of the White House.

Trump's searing political style -- including his radical immigration policies -- meant that his state visit was repeatedly delayed, in an embarrassment for the UK government.

It's ironic, then, that his visit will be the last meaningful act of a premiership destroyed by attempts to withdraw from the EU -- which Trump so aggressively championed.