A court has granted permission for former South Australian Liberal leader David Speirs to travel overseas, at his first appearance on a drug charge.