Antigovernment protesters cheered Tuesday's verdict and agreed to end a week-long airport blockade.
Efforts to oust the prime minister included barricading legislators in Parliament for five hours on Tuesday.
Judges increasingly are calling the shots in a tumultuous political situation. Are they playing fair?
Prime Minister Samak was forced to quit Tuesday, after a court ruled he'd broken the law by hosting two TV cooking shows while in office.