In an embarrassment to the Enforcement Directorate (ED), a Delhi court on Thursday termed the arrest of an accused in a money laundering case linked to a UPA-era defence deal with aircraft manufacturer Embraer “illegal” and ordered his release.