Hong Kong police has banned political banners, protest slogans and images ahead of the Chinese President’s visit to avoid “embarrassment".

The security operation in the autonomous territory will see at least 9,000 police officers being deployed during the three-day visit by President Xi Jinping starting on Thursday with parts of the city being locked down, local media Ming Pao News reports.

President Xi will visit Hong Kong to mark the 20th anniversary of the handover of the territory to China by the UK on 1 July 1997.

Since the handover, the anniversary on 1 July has often been marked by large-scale protests and opposition parties previously said they would come out in force this year.

Police have received instructions to remove “sensitive” words and images from the sight of President Xi and his entourage, including signs calling for the remembrance of the victims of the 1989 Tiananmen Square massacre and demanding direct election and universal suffrage.

The operation, which will restrict freedom of speech during the visit, is to “prevent the Chinese leaders from being embarrassed”, local media reports.

Such measures are more common in mainland China, where there is very little tolerance for protests and visible discontent against the one-party rule.

Hong Kong activists preserve the past Show all 22 1 /22 Hong Kong activists preserve the past Hong Kong activists preserve the past HK URBEX members, inspect the interior of an abandoned British army barracks in Hong Kong Reuters Hong Kong activists preserve the past HK URBEX members are seen through a hole in the fence at an abandoned British army barracks in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past An abandoned British army barracks is seen through thick fog in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past A HK URBEX member, stands at an abandoned British army barracks in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past A HK URBEX member looks through a window at an abandoned British army barracks in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past A HK URBEX member walks through an abandoned British army barracks in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past A HK URBEX member looks around an abandoned residential building in Hong Kong, China, June 7, 2017 Reuters Hong Kong activists preserve the past HK URBEX members walk towards an abandoned British army barracks in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past A HK URBEX member climbs a ladder at an abandoned British army barracks in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past A HK URBEX member inspects the interior of an abandoned British army barracks in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past A HK URBEX member, looks at a newspaper from 1982, inside an abandoned residential building in Hong Kong, China, June 7, 2017 Reuters Hong Kong activists preserve the past A tag is seen inside an abandoned British army barracks in Hong Kong, China, June 1, 2017 Reuters Hong Kong activists preserve the past An external view of an abandoned mansion called Yu Yuen, built the 1920's colonial era, is seen in Hong Kong, China, June 7, 2017 Reuters Hong Kong activists preserve the past HK URBEX members look around an abandoned residential building in Hong Kong, China, June 7, 2017 Reuters Hong Kong activists preserve the past A soft toy is seen inside an abandoned residential building in Hong Kong, China, June 7, 2017 Reuters Hong Kong activists preserve the past An interior view of an abandoned mansion called Yu Yuen, built during the colonial era of the 1920's, in Hong Kong, China, June 7, 2017 Reuters Hong Kong activists preserve the past An interior view of an abandoned mansion called Yu Yuen, built during the colonial era in the 1920's, is seen in Hong Kong, China, June 7, 2017 Reuters Hong Kong activists preserve the past People walk past the abandoned historic Central Market, which was built in the 1930's during the colonial era, in Hong Kong, China, June 10, 2017 Reuters Hong Kong activists preserve the past HK URBEX members inspect an abandoned residential building in Hong Kong, China, June 7, 2017 Reuters Hong Kong activists preserve the past An external view of the now closed Wing Woo Grocery Shop on Wellington Street, which was built during the colonial era in the 1870's, in Hong Kong, China, June 10, 2017 Reuters Hong Kong activists preserve the past Colonial era buildings (front to back), St John's Cathedral, former Central Government Offices and Government House are seen in Hong Kong, China, June 3, 2017 Reuters Hong Kong activists preserve the past A man stands outside the abandoned historic Central Market, which was built in the 1930's during the colonial era in Hong Kong, China, June 10, 2017 Reuters

Police said the crackdown was more encompassing this time than in previous occasions because it included images.

Officers in Hong Kong are reported to be under great pressure to ensure the visit takes place smoothly.

Resentment in Hong Kong has grown since the pro-democracy protest in 2014 brought the city to a standstill. Thousands of residents occupied major swathes of the city demanding “true universal suffrage” and open election in 2017.

Images of President Xi holding a yellow umbrella became a symbol of the discontent and coined the term “the umbrella revolution” - they will be removed by police ahead of President Xi’s tour of the city.

Last November, China’s parliament effectively barred two pro-independence politicians from taking office after they refused to swear allegiance to Beijing.