You have to settle the traffic violation first...otherwise you can't leave this country a.k.a stuck at the airport.