when a war was approaching , or at hand , not all of the elders or kings and queens could sit together to make discussions as a whole , therefore , when what ezra stated occurred , the law was passed .