Don't count on it - when the Madrid train stations were bombed just before their election, (at the time they supported US in Iraq), the liberals won big time.
Witnesses reported the shooters spoke about Syria and then began assassinating Concert attendees.
That's no reason, of course, not to seal the border now and to crank up the deportation express.