Spain said on Thursday it would do everything possible to stop Nissan from closing its main car factory in the country as angry workers burned tires and shouted "War" outside the Barcelona plant.

The Spanish government could seek an alternative partner to keep the plant open, it said.

The decision by Japan's Nissan Motor Co earlier on Thursday to shut the 3,000-worker plant from December as part of global cost cuts is a blow for the euro zone's fourth-largest economy at a time when unemployment is rising and a recession is looming due to the coronavirus crisis.