The double-facing foreign relations function of the executive and its self-enforcing obligation to comply with international law