Democracy, minorities and international law