I misread but I thought neither country had refining capacity.
Both do, but the Venezuelans have screwed theirs up so badly with inexperienced operators and defection of experienced operators and managers that it is no longer fully operational. Iran's "does" still work. Neither has enough refining capacity to refine all the oil they produce, and never did.