Gallay, an IT engineer, had only just moved to Morocco to work remotely for his French employer when he was arrested in February 2016 in an anti-terror sweep and accused of supporting an extremist organisation.