Yes it’s fascinating.
When looking up the “plumbing code” passage,
I ran across “Hivites” which has been mentioned here quite recently by...Sarah Ruth Ashcraft?
I forgot to attribute the plumbing code to chapter 23 in Deuteronomy. Oh, here’s the first verse in 23 which caught my eye:
“He that is wounded in the stones, or hath his privy member cut off, shall not enter into the congregation of the LORD.”
Eunuchs and trannies?
Interesting stuff.