I'm a dual national with a Moroccan passport and basically I want to ask, in the specific case of Morocco, whether it was possible to enter and exit Morocco with the Moroccan passport if I have an other nationality. I asked the question several times but I was forwarded to irrelevant and unsatisfying answers, so I'm attempting to re-ask the question.
Morocco allows dual nationality and I was planning to travel as follows.
Flight from the EU to Morocco
Check-in: Moroccan passport (so that I can show that I have a right to go to the destination country)
Exiting the EU :(no immigration for EEA nationals, just electronic counters and customs): EU passport or ID to scan (in order to prove that I've been legally in the place I'd be departing from)
Return flight from Morocco to the EU
Check-in: Italian passport, so that I can show that I have the right to go to the EU
Moroccan immigration: Moroccan passport+the other EU passport in case they ask me, so I can show that I've been there legally as a citizen and the right to go to the destination country.
Is there a flaw on this scheme? Is there something specific to Morocco, since most of Moroccan dual nationals just use their EU passport+the "Carte nationale"?
I'm asking about Morocco specifically, and please do not link me other answers on "how to travel with 2 passports" because I'm asking specifically about THIS CASE.