Nations will certainly bend over backward to ensure access to strategic resources. Unfortunately for Ukraine, grain isn’t a highly demanded resource.
Finding some niche technology or product to specialize in would probably be a really good idea. They have experience with rocket engine manufacturing, though that’s not a huge market. I suppose they could always extend that to munitions manufacturing, it seems there’s always a market for that… Sigh…