Mr. Demirel had been forbidden by Turkish courts to leave the country , where he is on trial in connection with the collapse of Turkish Egebank , which he owned .