Technically, Allenby noted, the appointment was illegal, as a civil administration that would compel the inhabitants of an occupied country to express their allegiance to it before a formal peace treaty (with the Ottoman Empire) was signed violated both military law and the Hague Convention.