if the book is to be understood as Job on trial in the court of his friends there's no reason for God to be involved at all. God's words are just as inadmissible as Elihu's on the same grounds that God is speaking out of turn.
it's Job's own argument by declaring his innocence and supposed unfair treatment that it is God who is being put to trial - countersuit in your Babylonian interpretation - and it is God's and Elihu's response that such a thing is bogus.
the court-of-Hammurabi-framework view still puts Elihu in good light and delegitimizes itself by the fact it the book doesn't end with chapter 31
it's Job's own argument by declaring his innocence and supposed unfair treatment that it is God who is being put to trial - countersuit in your Babylonian interpretation - and it is God's and Elihu's response that such a thing is bogus.
the court-of-Hammurabi-framework view still puts Elihu in good light and delegitimizes itself by the fact it the book doesn't end with chapter 31