So, “In the beginning, the judges created the heavens and the earth”?
The singular form of the word Elohim is used there. If you check you will find that even your Catholic church admits that Elohim refers to judges, angels, and kings.