The Court of Appeals has ruled that the continued detention of Globe Ferronickel chairman Joseph Sy is unlawful.