Bad analogy. The military occupation is not the state. It is a foreign occupation.
On the other thread you are arguing that occupiers have the obligation to provide for the welfare of the people. Which is it? Are they obligated to do so, or are they not? If they are -- surely they must not allow lawlessness.
THE DUTY TO PROVIDE SUPPLIES TO THE OCCUPIED TERRITORY
It is the duty of the occupying power to ensure that the population is
provided with supplies to the fullest extent that it can.
What is meant by supplies? The law refers to basic needs and to other
supplies essential to the survival of the civilian population in the occupied
territory. It specifies basic food and medical supplies as well as clothing,
bedding and means of shelter. Also included are objects necessary for
religious worship. Obviously, a common-sense approach is required in
meeting the requirements of the law. In cold climates, for example, fuel
for heating may take priority.
Destruction of property.
The occupying power is not allowed to destroy real or personal property belonging individually or collectively to private persons, to the State, to other public authorities or to social or co-operative organizations, except where such destruction is made absolutely necessary by military operations.
Private property cannot be confiscated.
Property used for religious purposes, for charity, education, or the arts
and sciences, must be treated as private property even if it belongs to
the State. Here the law is quite clear. It is forbidden to seize, destroy or
willfully damage such property. The same applies to historical monuments
and cultural property.
The occupying power must not deport or transfer parts of its own civilian
population into the territory it occupies.
Individual or mass forcible transfers and deportations of the civilian population from occupied territory are prohibited
The legal rights of the inhabitants of occupied territory cannot be curtailed by any agreement or other arrangement between the occupying power and the authorities of the occupied territory. This is intended to prevent national authorities from being put under pressure to make concessions which might not be in the population’s best interests or weaken its legal rights.
ICRC service