Actually, that's not quite true. It was in the late '30s when the general opinion started to swing from integration to independence, so if measures are taken is still possible to stop that swing.
What are you going with? A way worse Spanish-American War, that produces a revanchist Spain? If that's the intent, my suggestion would be to read an in depth history of spain, because there are several errors in the text that show a deep ignorance of the spanish situation and political structure...