▁partners , ▁as ▁well ▁as ▁the ▁primary ▁credit ors ▁and ▁foreign ▁invest ors ▁in ▁Mor oc co . ▁From ▁the ▁total ▁foreign ▁invest ments ▁in ▁Mor oc co , ▁the ▁European ▁Union ▁inv ests ▁approximately ▁ 7 3 . 5 %, ▁whereas , ▁the ▁Arab ▁world ▁inv ests ▁only ▁ 1 9 . 3 %. ▁Many ▁countries ▁from ▁the ▁Pers ian ▁G ulf ▁and ▁Mag h reb ▁regions ▁are ▁getting ▁more ▁involved ▁in ▁large - scale ▁development ▁projects ▁in ▁Mor oc co . ▁ ▁Mor oc co ▁was ▁the ▁only ▁African ▁state ▁not ▁to ▁be ▁a ▁member ▁of ▁the ▁African ▁Union ▁due ▁to ▁its ▁un il ater al ▁withdraw al ▁on ▁ 1 2 ▁November ▁ 1 9 8 4 ▁over ▁the ▁ad mission ▁of ▁the ▁Sah raw i ▁Arab ▁Democratic ▁Republic ▁in ▁ 1 9 8 2 ▁by ▁the ▁African ▁Union ▁( then ▁called ▁Organisation ▁of ▁African ▁Unity ) ▁as ▁a ▁full ▁member ▁without ▁the ▁organisation ▁of ▁a ▁refer endum ▁of ▁self - det erm ination ▁in ▁the ▁disput ed ▁territory ▁of ▁Western ▁Sah ara . ▁Mor oc co ▁rejo ined ▁the ▁A U ▁on ▁ 3 0 ▁January ▁ 2 0 1 7 . ▁ ▁A ▁dispute ▁with ▁Spain ▁in ▁ 2 0 0 2 ▁over ▁the ▁small ▁island ▁of ▁Pere j il ▁rev ived ▁the ▁issue ▁of ▁the ▁so vere ig nt y ▁of ▁Mel illa ▁and ▁Ce uta . ▁These ▁small ▁enc la ves ▁on ▁the ▁Mediter rane an ▁coast ▁are ▁surrounded ▁by ▁Mor oc co ▁and ▁have ▁been