To the extent that oil imports may be relevant to the international dimension of policy, we study the transmission of shocks to open economies dependent on oil within a NOEM framework through a DSGE model of a small open economy with flexible prices, staggered price setting and local currency pricing. For this purpose we introduce imports of oil as a new intermediate good needed to produce the final good and, apart from the usual exogenous shocks when a small open economy is being modeled, we consider an uncovered interest-rate parity shock, a technology shock and an oil price shock. A second-order accurate solution method is used to solve numerically a calibrated model for Portugal and Spain and the simulation results are compared with historical data, showing similar volatilities and expected dynamic responses to exogenous shocks. The model is computed with an optimized Taylor-style interest rate rule that includes real exchange targeting, thus arguing in favour of an international dimension of monetary policy.