> If Russia had invaded Belarus or Tajikistan instead of Ukraine, I doubt there would have been any real consequences.
You don't need to speculate. There were no real consequences when Russia invaded Georgia, and that's even a democracy, although unfortunately too small to be relevant.