Kate Middleton was confronted about not being in her "own country" during a surprise visit to Northern Ireland.

The Princess of Wales met with members of the public when a woman shook her hand and confronted her.

"Nice to meet you, but it would be better if it was when you were in your own country," she said in a video obtained by PA Media.

Northern Ireland is in the U.K. like England, Scotland and Wales. However, there has been conflict since England first occupied Ireland in the 1600s. In 1920, an act was passed that split the country into Northern Ireland, part of the U.K., and the Republic of Ireland, People magazine noted.

PRINCE WILLIAM CHEERS ON SOCCER TEAM FOR 10TH ANNIVERSARY, KATE MIDDLETON VISITS MATERNITY UNIT OF HOSPITAL

The British princess smiled, let go of the woman's hand and continued to greet others in the crowd. The heckler, who filmed the encounter on her phone, replied, "Ireland belongs to the Irish."

Catherine, Princess of Wales at Belfast

Catherine, Princess of Wales, greets the public during a visit to Carrickfergus Castle Oct. 6, 2022, in Belfast, Northern Ireland. It was there that the mother of three was heckled by an unnamed woman. (Liam McBurney-Pool/Getty Images)

The Prince and Princess of Wales are on a one-day trip. It’s their first visit to the country since Queen Elizabeth II’s death.

During their visit, the couple decided to shake things up by competing in a bartending battle.

The couple, both 40, visited Trademarket, a new outdoor street food and retail market in Belfast. The couple made their way behind the bar and took part in a friendly competition to see who was the fastest at making a cocktail.

CLICK HERE TO SIGN UP FOR THE ENTERTAINMENT NEWSLETTER

After rushing to shake and pour their libations, the couple enjoyed a toast and a sip. Their Twitter account shared a video from the competition.

"Who did it better?" the caption said.

The couple is known for showing off their competitive sides at times during royal outings.

After the contest, William and Middleton chatted with vendors to learn about them putting measures in place to ensure the site is environmentally sustainable. This includes removing single-use plastics.

PHOTO OF KING CHARLES, PRINCE WILLIAM AND THEIR WIVES SHOWS 'STUNNING EXAMPLE OF FAMILY UNITY': EXPERT

During their visit, the couple visited the PIPS Suicide Prevention Ireland (PIPS Charity), which aims to provide support for those at risk of self-harm. They met with charity staff and counselors to learn how they’re helping those struggling with their mental health, a cause they’re known to champion. The couple also learned about Carrick Connect’s mentoring service, which helps young people.

Kate Middleton maternity ward

Britain's Catherine, Princess of Wales, speaks to new mother Sylvia Novak while holding Sylvia's newborn daughter Bianca during a visit to the Royal Surrey County Hospital's maternity unit in Guildford, southwest of London Oct. 5, 2022.  (Alastair Grant/Pool/AFP via Getty Images)

It's noted that the couple’s visit to Northern Ireland follows King Charles III and Queen Consort Camilla, who previously traveled to Belfast in the early days of his new reign. Following the queen’s passing, Charles, 73, committed to touring all four nations of the United Kingdom.

CLICK HERE TO GET THE FOX NEWS APP

With their new royal titles, the couple has been raising awareness of their charitable causes. On Tuesday, William gave a speech about the scourge of illegal wildlife poaching and trade. On Wednesday, the pair met with professionals and parents at a maternity unit in London.

The queen died Sept. 8 at Scotland’s Balmoral Castle. She was 96. Following her death, the Duke and Duchess of Cambridge were named the new Prince and Princess of Wales.