How would the Spanish Constitution of 1812 prevent the fall of Spain?

what if hadntthe liberals taken over in Spain, which caused a conservative blacklash in New Spain, Peru being successfully being invaded by Colombian leader Simon Bolivar, Argentina due to lack of authorities along with Chile?

How would the Constitution prevent the fall of Spain?
 
Top