The pilot was seized after his MIG-21 Bison fighter jet was shot down during a dogfight near the Line of Control (LoC).
Islamabad High Court Chief Justice Athar Minallah heard the case earlier in the day ahead of the pilot’s release, Samaa TV reported.
Justice Minallah told the petitioner the decision to release the pilot was made by Prime Minister Imran Khan during a Parliament session on Thursday and no parliamentarian raised any objections.
“So this is a policy matter and we must respect Parliament,” the judge said.
Khan had announced that Pakistan will release the pilot as a “gesture of goodwill”.