Israeli weapons are world class in capabilities and the new defense pact no doubt includes Israeli intelligence cooperation with Morocco and assistance with border security, two specialties with which Israel has unique regional and cultural competence.
What is surprising is the agreement in out in the open, not that they might cooperate covertly.