The release came just weeks after US President Donald Trump's executive order on 5 September which imposed new "consequences on those who wrongfully detain Americans abroad."