You are right in that there are countries where wheat as a food source can be substituted with other sources of calories in case of relative price differences. These are usually countries where wheat is not a traditional food staple, but where wheat products (cakes, cookies, bread) have started to replace local food supplies in a growing middle class. Unfortunately the big Middle Eastern importers of wheat have traditionally had a wheat heavy diet, and it is very hard to change dietary customs. And as another commenter said, it is not easy to replace 20mt of wheat with 20mt of rice or potatoes.