I'm not sure if it's the right thing to do or if it will have negative implications in the future. I didn't liked when Russia invaded Ukraine and sure as hell would not like to see China invading Taiwan. I have a different opinion about Venezuela though.
Having said that, international law is a myth. At the power level of nation states what we have is basically anarchy where interests is what matters. Not saying its right or wrong but it is what it is.