Marx didint even believe in an established government. Much less one that invades a soveriegn nation such as Ukraine. Are you implying imperialism is compatible with the views of Marx?
There’s a differnece in being anti NATO and pro Ukraine invasion.