Spain will be a republic