How should spain punish the mass invaders?

So many invaders left morocco and crossed spain border... (i know it is in africa but still in soveriegn spain like hawaii is u. s.)

Are they just gonna make them citizens? Get european citizenship? That is entering Europe. That is invading Europe. They Ruined the sovereignty. Spain is such losers. Trump was right.

How should they punish the invaders who crossed the Spanish border?

How should they deter so it won't happen again? Maybe guard towers with tear gas? And helicopters within range. If it is many invaders, start treating it like an invasion and fire bullets so they turn back? Or morally better than guns: mine fields as a deterrent like korea border?

Or some other deter?

Updates
3 d
Yes i myself crossed a border too. But with permission to enter.
How should spain punish the mass invaders?
Post Opinion