Nah there’s a bunch of laws about that. In fact, in general, quickly seizing land then immediately joining the big group of allies working at not getting into any fights is frowned upon by the guys who don’t wanna get into fights.
Contested territory has a bunch of rules and regulations all its own. Russia sucks, but them’s the rules.
I did the same thing. It was allowed in general, with the correct thought, “if you can code it yourself, you know the content”
I had another “program” that would fail to run but that’s because I wrote notes into it. Doubt that was allowed.