So, to the Jew, whenever they referred to their one and only elohim they did not mean to say “Gods” but something like, “the Great, the Mighty One God” [cp. Josh 22.22]. Older Hebrew grammars called this a plural of majesty or excellence; plural of greatness or fullness of power and might; or a plural of intensification.
Exodus 18:21–22 tells us Moses appointed a group of officials to serve as judges to relieve some of the burden of leadership which he alone had carried since leaving Egypt. Some 40 years earlier! Their magisterial role is mentioned frequently in the Hebrew Scriptures (Deut 16:18; 19:16–18; 21:1–4, 20). Later, after Israel’s military conquests of Canaan, different offices were established to serve the people [elders, Josh 7:6; 8:33; leaders, 1:10; 3:2; 8:33]. Their function was to council people like Joshua on administrative and military issues, carrying out their orders in organizing and keeping order in the camp, as well as performing important ritual and covenant-making occasions (see Ex 24:1; Num 11:16).
Yet, even before the official institution of these leaders scripture tells us that Moses was made elohim to his brother Aaron and later to the Pharaoh so he could stand-in as the God of Israel’s representative in the pagan court of Egypt (Ex 4.16; 7:1). But even though elohim was not the common title for the Jewish judges, when used in their legal sense, it was employed not strictly but figuratively. This is because the judges were instructed to “judge not for man but for YHWH [since] the judgment remains with God [alone]” [Deu 1.17; 2Chro 19.6].
So, then, it came to be understood that these human judges were in some sense regarded as divine representatives or as bearers of divine authority and majesty. Not only to the people of Israel but to other nations as well.
We find other examples in Exodus 21:6; 22:8 [cf. 1 Sam. 2:25]; Judg. 5:8; and Psalm 82:1, 6 where “the term ‘elohim is morphologically plural, so it can mean ‘gods’ (not the only true God but lesser supernatural beings) in many contexts, including already Exod 12.2; 15.11; 18.11, 15; 20.3, 23. This could seem to lend credibility to the idea that by extension ‘elohim might mean ‘mighty people’ or ‘persons of authority’. The term is used as well in legal contexts in ways that might seem at first glance to refer more to human judges than God per se (Exod 22.8-9). Seemingly convincing to some is the use of a plural verb with ‘elohim in Exod 22.9 (NIV ‘the one whom the judges declare guilty’)…”
“Elohim may describe beings who were thought, as superhuman, to partake of the Elohim-nature, though they were not on that account regarded as objects of worship…Accordingly, we ought probably to explain Gen 1.26 in the same way…Man is formed in the Elohim-mould, borne by God, and possessed in some sense by angelic beings...The titles Elim, Elohim are used in some few cases of men, as possessors of God-like power or rank. Such may be the use of Elim in Job 41.25; Ezek. 17.13; 32.21; 2Kings 24.15, where the R.V. adopts the rendering mighty. Moses is to become Elohim in relation to Aaron [and] again he is to be Elohim to Pharaoh [Ex 4.16; 7.1]…Elohim is employed to denote judges or rulers, either as acting as God’s representatives, or as exercising a power which is God-like. So Ex 21.6; 22.8-9, 28; 1Sam 2.25; Ps 82.6…So also, the Elohim of Ps 138.1, in whose presence the psalmist will sing praises to God, may perhaps denote earthly potentates…And, once more, the intensive plural Elohim appears, upon the only tenable explanation, to be used in Ps 45.6 of the King who forms the subject of the poem…”
In the NT, it’s not unusual to find Jesus appealing to this biblical precedent of humans as “gods” in John 10.34 when arguing the case for his self-designation as “the [naturally created] Son of God” [cp. Mat 1.1, 18-20; Lu 1.30-35; John 1.18]. Who, as the “seed of the woman” [Ex 3.15], promised prophet [Deu 18.14f.] and prophesized Anointed One has been divinely authorized as the supreme messenger and expression [cp. "character", Heb 1.3; "image", Col 1.15] of “the only true God” [John 17.3].
“The closest analogy to the use of the word (or title) ‘god’ for Jesus, however, is the use of such a term for Moses. Already Ex. 7.1 says that God makes Moses god to Pharaoh; and even before that Ex. 4:16 makes nearly the same claim (le lohim, ‘as god’) of Moses in his relation to Aaron. Consequently, Philo [1st century Jewish philosopher from Alexandria] does not hesitate to call Moses god, and in quite an unrestricted sense: ‘for [Moses] was called god and king of the whole people, for he was said to enter the dark cloud wherein was God’ (Life Mos. 1.158)…it is clear that by calling Moses god, Philo does not actually equate Moses with the supreme God, just as it is clear that the Johannine Christians, by calling Jesus god, do not actually equate him with the supreme God, inasmuch as Jesus is in Johannine tradition otherwise Son of God and the revealer sent from heaven. Beyond Philo, the divine appellation adheres to Moses when Josephus calls him a theios aner (‘divine man’, AF 3.180). One may suspect, on the basis of this evidence, that there was some connection between the equation of Jesus with God in the Fourth Gospel and the comparison of Jesus to Moses.”
 See Gesenius' Hebrew Grammar. Ed. E. Kautzsch and A. E. Cowley. 2nd ed. Oxford: Clarendon Press, 1910, 1985. See §124, especially paragraphs g-I; Paul Jouon. A Grammar of Biblical Hebrew. Trans. T. Muraoka. Rome: Biblical Institute Press, 1994.
The IVP Bible background commentary: Old Testament, Jos 23:2, InterVarsity Press. 2000.
 NAB: “You shall not revile God, nor curse a prince of your people.” Footnote: or perhaps "the gods," in the sense of "the judges," as the parallel with a prince of your people suggests. Amplified Bible: “You shall not revile God [the judges His agents], or esteem lightly or curse a ruler of your people.”
 “…human judges are called elohim [gods], even as they are called theoi [gods] in the Septuagint translation of the Hebrew (Exod.22:27).” M. Thompson, The God of the Gospel of John, p. 21. Also see J. Harris, Jesus as God, the New Testament Use of Theos in Reference to Jesus, pp. 24-26.
 AB: “…the house owner shall appear before God [the judges as His agents]…the cause of both parties shall come before God [the judges].”
 The New American Commentary, p 481.
 Job 5.1; 15.15 has “holy ones. The term “holy ones”, which designates servants or angels, occurs elsewhere in Scripture (Hos 11:12; Zech 14:5; Dan 4:10, 14, 20; 7:13; and Ps 89:7). They are holy because of their closeness to God, not because of any inherent purity.” The IVP Bible background commentary : Old Testament, Job 5:1, InterVarsity Press, 2000.
 The messianic king may be called elohim in Psalm 45:6, although the Hebrew can be legitimately translated as: "Your throne is Elohim forever and ever." Isaiah uses the ancient word El in two messianic titles: Immanu-El (7:14, 8:8) and El Gibbor (“mighty warrior”, 9:5).
 C.F. Burney, Outlines of Old Testament Theology, pp14-16.
 Barnes’ Notes on the Old Testament, Psalms, Volume 1, p. 328. [emphasis added]
 Jack T. Sanders, Schismatics, Sectarians, Dissisdents, Deviants: The First One Hundred Years of Jewish-Christian Relations (Trinity Press International, 1993), pp. 93-94.