The ruling comes despite the court admitting that the exports could be used in breach of international humanitarian law.