It should be mentioned here that in the case of Madrid, the metro is managed by a rightwing party who intentionally reduced the amount of trains when the car restrictions started, in order to cause discontent. See https://www.publico.es/politica/madrid-central-arranca-madri... (sorry for the link in Spanish).