Supreme Court issues ruling in international custody case