Upvote:1
Entering a country visa-free, where this is permitted by the destination country’s immigration rules, is not ‘switching of passport or tricks’. The EU is not a country, there is no such thing as an ‘EU passport’ https://en.wikipedia.org/wiki/Passports_of_the_European_Union
You can confirm the entry requirements by checking with the Algerian Embassy or Consulate local to you, rather than paying attention to hearsay. For example, the Visa Exemptions section on the website of the Algerian Embassy in the UK states:
“Nationals from the following countries do not require an entry visa to travel to Algeria:
Libya, Malaysia, Mauritania, Morocco, Sahrawi Arab Democratic Republic, Seychelles, Tunisia and Yemen”.
http://www.algerianembassy.org.uk/index.php/diplomatic-visas.html
A Google search throws up https://www.passportindex.org/comparebyPassport.php, which states “visa-free/90 days” for Morrocan nationals wishing to enter Algeria.
Timatic, the system used by airlines, says:
“The following are exempt from holding a visa:
Nationals of Morocco for a maximum stay of 3 months. Passports and other documents accepted for entry must be valid for a minimum of 6 months from the arrival date.”
https://www.timaticweb2.com/integration/external.php?ref=d975cfc59f5c0abd06d16e872198110b