Personally, I do not feel any sympathy for this or that state. If tomorrow Chinese troops enter Russia and establish control over it, it will be no more and no less nice to me than the Kremlin regime. I heard Chinese police are worse than the Russian but on the other hand, Chinese build roads better. In any case, I don't like both.
But the reality can be differ from schemes. The military regime of the occupiers could be extremely brutal against civilian population. This can cause riots and uprisings. Pacifism can't solve many problems. In principle, I see no problem if the anarchists create their own militia to protect people, fighting in their Autonomous units, or at list is some local militias, and preach anarchist ideas.
There is a fairly well known example: Polish anarcho-syndicalists from ZSP (ZZZ). They are known to be involved in direct actions (illegal strikes, occupation of factories - so-called "Polish strikes") before the Nazi occupation of Poland. It was real revolutionary anarcho-syndicalists movement widely used methods of direct action, instead of cooperate with state commissions and the courts. After the occupation, they created their militia. There was the most famous team - Roth N 104 fought during Warsaw uprising in 1944.
However, anarchists fought in their own units and used it to agitate for their own ideas. They rejected Polish state. ZSP fought the Nazis... but not for the state independence of Poland. Anarchists fought for the libertarian Polish Federation based on the self-governance of syndicates, cooperatives and Autonomous regions.
The problem arises if anarchists support the war-of-state. For example, some Ukrainian anarchists supported the state of Ukraine during the war with separatists and war with Russia. Some went to fight in the ranks of Ukrainian army. If a person supports the state, its army and military-industrial complex, which exploits workers, he automatically ceases to be an anarchist.
Maybe you should add your views to the Ukrainian NIHILIST thread on libcom - you start by acknowledging a similar view to them with a reference to ' ... or enlist in some local militias...' but then go on to argue differently for stricter 'anarchist only units' ??