Court order comes just hours after country’s supreme court rules that ex-president is free to go overseas for treatment.