The macaques, Europe's only wild population of monkeys, are a popular tourist attraction, and local folklore has it that Gibraltar would cease to be British if the monkeys were to leave the Rock.
Feeding them is already illegal and punishable by hefty fines.
But now the government has decided to go a step further.
With the arrival of the coronavirus, it “will be taking strict measures to prevent contact with the macaques,” the government said in a statement late Friday.
“This is in order to minimise the risk of their contracting the disease and becoming ill or dying. Primates elsewhere have been known to be susceptible.
It published a bill “which will make touching or other interference with the natural behaviour of macaques an offence except under licence for management, research or veterinary purposes.”
Encounters like this will be banned. Archive photo: AFP
With just 161 cases of COVID-19 in a population of 30,000, the impact on Gibraltar has been relatively low, especially in comparison with neighbouring Spain, one of Europe's worst-hit countries.
“Because of the low level of the virus in Gibraltar and of the prompt lockdown of tourist sites, it is virtually definite that the macaques have not contracted COVID-19,” the government said.
“We have to ensure that this continues to be the case.”