UK has influence over Iran judiciary: Former president