Pakistan ex Pm get in court with high security