Code of Ethics - PROFESSIONALISM - knowledge of the law

Hi, it’s my first time writing in the forum. It’s a simple question, but I’m kind of stuck; I’ll explain it through an example (a hypothetical situation).

In Country X is illegal to trade bonds in less than 72 hours (you must keep it in your portfolio for that time).

in country Y, is perfectly normal to trade bonds, without restrictions.

In country Z, it is illegal to trade bonds with certain characteristics (let’s say, “pegged to inflation”), in less than 30 days.

Some Financial Advisor from Y, working in X, for a company in Z.

does his nationality and the nationality of the company working for has something to do? When it’s said “the most strict applies” is between CFA Code and his Country of residence only? Is there any case in which a third “law” should be considered?

thanks!