I'd like to point out that, although it is illegal to put lead in water supply lines in the US, there is a loophole that allows it in hot water lines. As a result, for certain fittings, most big-box hardware stores only sell the leaded variants, and label them "hot water heater supply line" or something similar.
Why are there so many loopholes in every single US law? Everytime there’s a major health issue or anything extremely anti consumer it’s because of a loophole in the formulation of a US law. Are US lawmakers that bad? Or is it judges who interpret laws literally instead of using the intent?
It's hard to interpret intent in a way that is consistent and fair. A ruling that does not go by what is written down is open to be criticized, while a ruling that adheres to the letter is almost never overturned.