At this stage, for Ceuta, I would guess Morocco is going to make Spain wait and stew for a bit, but will take them back in the end. They can't afford to irritate the EU for too long.
Let's hope it's the straw that will break the camel's back for Spain and the EU.
I have just been reading about their recent regularisation scheme, 1.16m ppl applied, but 2 good points:
This would only grant a 1y temporary visa, then they would have to apply again via regular Spanish immigration laws. It is not an automatic ILR, citizenship or such.
Because this plan was not passed via parliament, it would be easier to challenge it in court. And I hope someone will do it.