Loi n° 95-17 relative à l'arbitrage et à la médiation conventionnelle + traités bilatéraux d'investissement (TBI) / CIRDI
Morocco has an UNCITRAL-based arbitration code and a wide BIT network - your recourse if the rules change on you.

Dispute-resolution and investor-protection layer. Loi 95-17 (Dahir 1-22-34 of 24 May 2022, BO n°7099 of 13 June 2022, in force 14 June 2022) creates a standalone, UNCITRAL-Model-Law-based arbitration and mediation code, separated from the Code of Civil Procedure: clear internal/international arbitration distinction, party autonomy on applicable law, electronic procedures, exequatur before the commercial court of appeal for international awards. Morocco is an ICSID member and has a wide network of bilateral investment treaties offering fair-and-equitable-treatment, expropriation and transfer-of-funds protections - though BIT protection typically covers 'investments' broadly and may extend to portfolio holdings depending on the treaty definition. Check the applicable BIT before structuring.