The ruling , thought to be the first successful appeal of a detainee 's designation as an enemy combatant , ordered the government to release , transfer or hold a new military tribunal hearing for Parhat .