Arcana Coelestia # 165
165. The nakedness of which they were not ashamed means innocence. This is quite clear from what follows. When integrity and innocence left them they were then ashamed of their nakedness, and it seemed disgraceful to them, and so they hid themselves. It is additionally clear from the things represented in the world of spirits that the nakedness of which they were not ashamed means innocence. Indeed when spirits wish to exonerate themselves and prove that they are blameless they present themselves naked to witness their innocence. This is particularly clear with the innocent in heaven, who look like young children, naked, and wearing garlands round them that accord with their particular variety of innocence. But those who do not possess so much innocence appear clothed in splendid and shining clothes - you might call them brightest silk - like angels when seen from time to time by the prophets.
Ezekiel 23:28-29
28
For thus says the Lord Yahweh: Behold, I will deliver you into the hand of them whom you hate, into the hand of them from whom your soul is alienated;
29
and they shall deal with you in hatred, and shall take away all your labor, and shall leave you naked and bare; and the nakedness of your prostitution shall be uncovered, both your lewdness and your prostitution.