Elohim still means judge not God. In all cases it was giving an attribute of God. Calling someone Elohim does not make him a god it means he is a judge. Calling God Elohim is referencing His attribute of being the supreme judge, not His divinity.
So, “In the beginning, the judges created the heavens and the earth”?