The Court of Appeal ruled that "a highly irregular procedure" allowed forensic evidence to be admitted at his trial