It seems to me that the EU and US didn’t know when to stop and only looked at the potential economical and respectively geopolitical gains, while not giving enough weight to the risk of conflict when it was known what Russia’s red lines were.
This was a policy blunder. Looking at it from a moral or international law perspective is a dead end when the primary driver of the chain of events leading to today was geopolitics.