The officers, sought by Turkey to face a military trial at home, have requested asylum in Greece and will remain in police custody until their cases on that issue are heard early in August.
The prison sentence for illegal entry was suspended for a three-year period, the court in the northern city of Alexandroupoli said, taking into account that the men felt threatened.
In his defence, one of the Turkish officers told the court through a translator that he did not want to return home owing to "indiscriminate" arrests by Ankara authorities.
Another said: "I'm proud to be an army man. I would not have left Turkey had my life not been in danger."
The case threatens to strain ties between the two NATO allies, with Ankara labelling the eight "terrorists".
Turkey's ambassador has warned that failure to return the officers "will not help" ties.
"I hope we will manage to swiftly go through the phases of due process and manage to return these terrorist elements so that they will face justice," Kerim Uras told reporters in Athens on Tuesday.
The officers flew to Alexandroupoli by military helicopter on Saturday and were allowed to land after sending a distress signal to authorities.
A Turkish detachment arrived after them and returned the Black Hawk helicopter to Turkey.
Greek military units have been placed on "heightened vigilance" amid reports that additional Turkish military personnel could be trying to flee to the Greek islands, a navy spokesman told AFP.
The eight men, who declined to give their ranks and units in court, arrived in handcuffs with their faces hidden.
"We had to land in a field near Istanbul and wait, before deciding to flee," the first suspect said.
