The 2008 Yanmar constitution regarding a "State of Emergency:
Constitution of the Republic of theUnion of Myanmar(2008)
40. (a)
If there arises a state of emergency characterized by inability to perform executive functions in accord with the provisions of the Constitution in a Region or a State or a Self-Administered Area, the President is empowered to exercise executive power in that Region, State or Self-Administered Area and, if necessary in doing so, the President is empowered to exercise 10 legislative powers concerning that Region, State or Self-Administered Area in accord with the provisions of this Constitution.
(b)
If there arises or there is sufficient reason to arise a state of emergency endangering life and property of the people in a Region, State or Self-Administered Area, the Defence Services has the right, in accord with the provisions of this Constitution, to prevent that danger and provide protection.
(c)
If there arises a state of emergency that could cause disintegration of the Union, disintegration of national solidarity and loss of sovereign power or attempts therefore by wrongful forcible means such as insurgency or violence, the Commander-in-Chief of the Defence Services has the right to take over and exercise State sovereign power in accord with the provisions of this Constitution.
https://www.burmalibrary.org/docs5/M...on-2008-en.pdf
Also Sections 417 to 432.
The 2008 Myanmar Constitution suggests that:
The "CiC of the Defence Services" has acted within the Myanmar Law and Constitution by lawfully instigating Section 40, Clause C and the other Sections.