…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.
European countries must send a strong message that war in Europe is not worth it… hence sanctions. They are not dooing it because they “serve the USA’s geopolitical goals”.