A Greek court on Monday ordered the state broadcaster back on air while it is restructured, allowing squabbling coalition leaders to move towards a compromise that avoids early elections.

The ruling came six days after Prime Minister Antonis Samaras suddenly switched ERT off to save money and please foreign lenders, sparking an outcry from unions, journalists and exposing a rift with his allies.