“prevents judges from basing rulings on international law”
I read what you say but the two posts reporting it - is different.
Hmm!
Might the ten commandments be considered “international law”