In response to a sudden increase in confirmed cases of COVID-19, police in Spain are using drones to patrol towns and urge people to stay indoors.

The country issued a state of emergency on Friday, and on Saturday the government ordered everyone in the country to stay home for all but the most crucial trips outdoors, according to Business Insider. And now, like in China earlier this year, Spanish police are hoping to shame people into staying indoors without having to approach them and risk spreading disease.

Footage from the BBC shows police speaking into a radio and urging people walking through a Madrid park to go home. Meanwhile, a drone flying overhead relays the message to the people who were outside in spite of the quarantine.

Police in Spain have been using drones to check the streets for anyone ignoring Spanish orders to stay home during the coronavirus outbreak On Saturday, the country's 47 million citizens were ordered to stay indoors except for necessary tripshttps://t.co/Yqcy5K9OLC pic.twitter.com/jmLlQfQYXc — BBC News (World) (@BBCWorld) March 15, 2020

Cops using drones to yell at people to stay inside sounds like something straight out of a cyberpunk dystopia. But following quarantine guidelines and keeping one’s distance are some of the best ways to slow down — and hopefully, eventually, stop — the spread of the coronavirus.

Spain’s policy mirrors the quarantine in place in Italy, which has been hit by one of the worst coronavirus outbreaks worldwide — the newly-declared state of emergency is meant to prevent things from getting just as bad there too.