Story highlights Prince Andrew was mistaken for an intruder on Buckingham Palace grounds

The incident came days after a man made it into the palace and was arrested for burglary

Prince says he looks forward to "a safe walk in the gardens in the future"

Police spotted a man in the gardens of Buckingham Palace and stopped him, concerned he might be an intruder.

The man in question: Prince Andrew, Duke of York. He was out for a stroll through the manicured gardens in the early evening.

Andrew, the son of Queen Elizabeth II, was born in the palace in 1960, has offices there, and spends much of his time there.

Oops.

Two uniformed officers spotted him at 6 p.m. Wednesday, and approached him "to verify his identity," the Metropolitan Police Service said in a statement. "The man was satisfactorily identified."

"The police have a difficult job to do balancing security for the royal family and deterring intruders and sometimes they get it wrong," Prince Andrew -- brother of Prince Charles and former husband of Sarah "Fergie" Ferguson -- said in a statement.

JUST WATCHED Man scales fence at Buckingham Palace Replay More Videos ... MUST WATCH Man scales fence at Buckingham Palace 02:15

JUST WATCHED Prince Andrew rappels down UK building Replay More Videos ... MUST WATCH Prince Andrew rappels down UK building 01:04

"I am grateful for their apology and look forward to a safe walk in the gardens in the future."

The British press reacted with predictable excitement. A few accounts, apparently incorrectly, reported that the officers had their guns drawn. One outlet wrote that the prince was "held at gunpoint."

According to the authorities, no force was used, and no weapons were drawn.

Guards were already on higher alert when the incident took place.

Two days earlier, it was the real deal: a security breach at Buckingham Palace

A man scaled a security fence and entered the building before being detained. Authorities arrested him for burglary, trespass and criminal damage. Another man was arrested later for alleged conspiracy to commit burglary.

The incident drew headlines around the world.

It was the latest in a series of security lapses over the years, a few quite colorful. In 2004 " Batman" scaled a fence and stood on a ledge to make a point about paternal rights.

It turned out both incidents had more to do with publicity for the perpetrators than safety of the royal residents. "Batman" was merely a dad with a cause; "bin Laden," a comedian.

But Monday's alleged burglar seemed different, a more serious matter. Comparisons were drawn to the time in 1982 that a man made it all the way to the bedside of Queen Elizabeth. The queen talked to that intruder until help arrived.