Sanctions against a combatant and military assistance to one of the combatants are both acts of war according to international law.
So is invading.