Ten foreigners who broke a coronavirus lockdown in an Indian town made famous by the Beatles, were forced to repent by writing ‘I am so sorry’ – 500 times, officials said Sunday.

The nationwide lockdown was imposed near the end of March, with residents permitted to leave their homes only for essential services such as buying groceries and medicine.

The travellers – from Israel, Mexico, Australia and Austria – were caught taking a walk in Rishikesh, where The Beatles sought spirituality at an Ashram in 1968.

Local police officer Vinod Sharma said they were each made to write ‘I did not follow the rules of lockdown so I am so sorry’ 500 times.

More than 700 foreign tourists from the US, Australia, Mexico and Israel staying in the area had flouted the lockdown rules, Sharma said, adding the unusual punishment was handed out to teach them a lesson.

Police said they would direct hotels in the area to allow foreign guests to step out only if accompanied by local helpers.

Establishments that did not follow the order could face legal action, Sharma said.

Police have come up with unusual methods to encourage people to stay home to halt the spread of the deadly disease, including wearing coronavirus-shaped helmets.