Obvious incompetence bordering on malevolence aside, isn't that also a violation of GDPR?
(Article in Portuguese: https://sicnoticias.pt/pais/2021-06-11-Camara-de-Lisboa-pode...)
Public records can however only be accessed by request, and only by a Swedish citizen, so this situation probably wouldn’t fall under that exception had this happened in Sweden. IANAL but I think this would have been a violation of the GDPR had it happened in Sweden, and a quite serious one at that. Formally I think it could also fall under various espionage laws since there are foreign powers involved (but probably not in practice).