In poor countries, most governments implement policies aiming to stabilize the prices of staple foods, which often include storage and trade measures insulating their domestic market from the world market. It is of crucial importance to understand the precise motivations and efficiency of those interventions, because they can have consequences worldwide. This paper addresses those issues by analyzing the case of a small, open developing country confronted by shocks to both the crop yield and foreign price.