How does the Supreme Court participate in matters of foreign policy with the legislative and executive branches?

a by overseeing the appropriation of funds that is decided on by Congress
b by performing judicial review in cases involving constitutional law between branches and other nations
c by determining whether the president is able to take military action against other nations
d by approving the Senate’s majority vote for treaties and diplomatic appointments

b by performing judicial review in cases involving constitutional law between branches and other nations