A police officer asks two women to leave an area in Barcelona, Spain, on March 15, 2020. (AP Photo/Joan Mateu)

(AP) -- Portugal and Spain have agreed to halt tourism across their 1,200-kilometer shared border starting Monday, but they will still allow workers to commute and the exchange of goods across the land border, Portuguese Prime Minister Antonio Costa told reporters in Lisbon.

Costa said the measure was agreed upon following a call with Spanish Prime Minister Pedro Sanchez. Details would be released Monday after a meeting of European Union ministers, he added.

Portugal has seen a spike in infections in the last week, from zero to 245, although the situation is far less serious than in neighboring Spain. There have been no deaths recorded in Portugal.

In a video statement, President Marcelo Rebelo de Sousa said late Sunday that he's convening the Council of State on Wednesday to discuss whether a state of emergency is needed to halt the spread of the virus.

Rebelo de Sousa has been in self-isolation since earlier this week, despite having tested negative for COVID-19, after he met a student who later was found infected with the virus.