Well right.
Such an international obligation only imposes on the US to the extent that it's codified into US law, which is what SCOTUS took into account as it made its judgement.
It would be and end run around US law for the court to have ignored US law to consider the convention directly.
What matters is what our elected representatives voted into force.