Even when Myanmar had a democratically elected government the military still had huge political power because the constitution had a clause that let them retake power whenever they wanted. The legitimate leader was always afraid of this happening, so it's quite hard to separate the two governments.