Disheartened Imran writes to top judges for reprieve