Spain said Italy had been "unjustified" for taking border action after the mass crossing of migrants from Morocco last week.