I don't recall the name of the law, but in essence it is illegal to photograph or film pretty much anything pretty much anywhere in Monaco for anything but tourist reasons (and even then, some sites are still illegal to photograph or film, whether you're standing in a public place or not) without a specific licence to do so, for which you must apply to the Societe des Bains de Mer - which is largely owned by the Crown. And 5% owned by Louis Vuitton.
"Ah, but what if it's not photographs or video, but CGI based on the exact same streets and happens to look exactly the same?"
Well, now you're getting into a legal grey area over image rights. Monaco basically owns the image rights to... it; there isn't really the same "public space" rules of pretty much any other western nation. Reproducing it, particularly if it's quite exact, is pretty blatantly an attempt to use the look of it without paying for the (almost certainly refused, due to existing agreements) rights to do so.
There's arguments both sides, like "how do you get it to look identical without referencing photographs and video that were shot under licence, thus using them contrary to the licence" and "it's literally the whole-ass duck", but the primary one in defence of "but it's not Monaco 'cos we don't call it Monaco" is eroded by the "reasonable person" test. If a "reasonable person" would mistake the copy for the original, it's a slam dunk; every time someone says Cote d'Azur is Monaco, or Monaco was in GT3/4/whatever, it's another F in the box.