They basically started designing a jet 50 years ago exactly for today’s Ukraine scenario. Being invaded and only getting limited international support because neighbors (and NATO members) would stop at measures that would make them a direct participant in that war.
Wow, I’ve never thought about it that way but you’re right. The main difference I guess is that Ukraine is actually way more populous.