So if a Sri Lanka judge decides its okay to carry weapons, ban abortion, imprison homosexuals and kill fox from helicopters we should use that as a precedent?
As Scalia has pointed out, "foreign law" is just a pretext for trying to legitimate one's own prejudices. You can find everything you want (or don't want) in foreign law.
So what are the criteria for picking and choosing from among the laws of other nations?