UN official describes monthlong polls as ‘illegitimate’, while ASEAN regional bloc says it will not certify the vote.