French President Emmanuel Macron has lost his temper with Israeli security agents during a visit to a French church in Jerusalem and angrily ordered one of them to leave the premises.

The incident occurred during a spat between Israeli forces and Mr Macron’s own security as he entered the Church of St Anne.

The church, located in Jerusalem’s Old City, is French state property and Macron did not want the Israeli guards leading him inside.

Israel France
Israeli prime minister Benjamin Netanyahu, right, and French President Emmanuel Macron shake hands (Ronen Zvulun/AP)

“Everybody knows the rules,” Mr Macron said in English as he raised his voice toward an Israeli security official. “I don’t like what you did in front of me. Go outside.”

He then turned to another Israeli official and thanked him for his work. But he then asked the police around him to “please respect the rules as they are for centuries. They will not change with me”.

Mr Macron later described the incident as a “moment of irritation” between security forces, noting that Israeli security stops at the door of the church “and French security takes over”.

Israel has deployed thousands of police as dozens of world leaders, including Mr Macron, descend upon the city for a commemoration ceremony marking the 75th anniversary of the liberation of Auschwitz.

The scene was reminiscent of a 1996 visit by then French president Jacques Chirac, who also got angry at Israeli security accompanying him in Jerusalem.

“What do you want, me to go back to my plane and go back to France?” Mr Chirac screamed at the time.

In a joint statement, Israeli police and the Shin Bet security agency said that when Mr Macron arrived, “there was a discussion” between Israeli and French security about entering the church with him. It said Israeli guards escorted him inside “based on the terms agreed upon ahead of time”.

“When the president and the delegation finished the visit, he apologised about the incident and shook hands with the security personnel and continued his scheduled visit in the old city with security guards,” it said.