Step 1: Understanding the Concept.
This question refers to a Supreme Court ruling clarifying which body holds the constitutional power to legislate on matters that extend beyond India's territory when national security is involved.
Step 2: Check the options.
The President, Prime Minister, and the Supreme Court itself are not law-making bodies in the constitutional sense of enacting legislation, so options A, B, and C are wrong.
Step 3: Final Answer.
The Supreme Court held that Parliament has ample power under the Constitution to legislate on extra-territorial matters affecting India's security, so option D is correct.