Why is Myanmar’s junta holding an election during a civil war?

Most analysts see the election as a way for the military to entrench its rule via proxies in the absence of a viable political opposition.