Pakistan's Supreme Court on Thursday ordered the anti-corruption watchdog to produce former prime minister Imran Khan within an hour as it observed that the agency committed "contempt of court" by entering the court premises and arresting him without permission from the court's registrar.