An Istanbul court on Friday ordered the release of an anti-government newspaper editor but remanded the head of a national television network in custody in a controversial case that has strained relations with the European Union.