…unless they also condemn the USA for invading Afghanistan, Iraq, etc.
Most European territories serve the USA’s geopolitical goals. Sanctions against Russia right now are part of that. There’s nothing moral about it. It’s simply a service to the USA for being in its sphere of influence. There is nothing, not a single shred of integrity in that.
If you find a territory which sanctions Russia for its crime, and also the USA for its crimes, you can recognise it as a real principled act.
The other commenters don’t agree with you, but yes that is completely true. A good outcome would be some kind of precedent, where from now on all invasions result in sanctions.
But of course that’s not what’s happening. The anti-war reaction is not genuine. Any action by the USA/Israel will be supported and any action by Russia will be violently opposed. Actions by China/India etc will be taken on a case-by-case basis - how do they affect the USA’s interests in the region.