Was going to post this on the anniversary, but forgot when it was. Oops.
The Abwehr (German MI5, OSS), more specifically Canaris, played an important role on keeping Spain out of the war as well.pmart said:
It was definitely worse than that movie. Being so bad allowed me to go down a little bit of a rabbit hole and I googled how Spain was able to stay out of wwii. I learned they were close to entering on the axis side, maybe a couple of times, but either on purpose or happenstance they did not. At least not fully and the US played a big role in that with economic pressure. Although their obvious favoring of the axis powers still cost them in the post war era. That is the wiki version anyway.