In democracies an effective media and opposition are both needed to sanction leaders’ foreign policy missteps