The Spanish government has ordered a lockdown in the capital Madrid and surrounding areas badly affected by coronavirus after a rise in cases.
Under the new restrictions, residents will not be allowed to leave the area unless they have to make an essential journey.However, Madrid's regional government says the lockdown is not legally valid.
Greater Madrid accounts for more than a third of the 133,604 cases diagnosed in Spain over the past two weeks.
On Wednesday, a majority of Spain's regional governments, who are in charge of healthcare, voted in favour of imposing restrictions in areas with more than 100,000 residents if they met three benchmarks - 500 cases per 100,000 inhabitants, 35% Covid patient occupancy in intensive care units and positive results in 10% of tests, BBC reported.
Madrid, which has a rate of 780 infections per 100,000, already meets the criteria. However, it is not yet clear when the restrictions will be introduced.
Under the lockdown, the Madrid region's borders will close to visitors for non-essential trips. People will be allowed to cross the border for work, doctors' visits and shopping. Playgrounds and parks will also shut.
Social gatherings will be limited to six people.Madrid's regional government, which is controlled by the conservative opposition and did not vote in favour of the restrictions, has argued that the lockdown is not legally valid.
Regional health chief Enrique Ruiz Escudero accused the central government of sending a "message of alarm and agitation" and did not rule out fighting the lockdown in court.