The Spanish government is aware that Morocco will not tolerate any direct challenges to its territorial integrity and sovereignty over Western Sahara.

Spanish FM, Spain Does Not Recognize Polisario, Self-Proclaimed SADR
Morocco's Minister of Foreign Affairs Nasser Bourita and his Spanish counterpart Gonzalez Laya