The Ukrainians have no obligation to uphold any kind of "silent" agreement. If they want to join an economic organization, it is their right to do so - a sentiment they expressed through Euromaidan.
Two wrongs don't make a right. But Russia would never allow Ukraine to be NATO and a launching pad for a Russian invasion.