> At the same time they keep Assange locked in an embassy
Assange wasn't locked in the embassy. He was free (and encouraged by the British, and until they gave up the Swedish) to leave at any time.
Assange chose to stay in the embassy for longer than his likely worst-case sentence, until expelled, in a futile attempt to avoid potential US charges he wasn't then facing and which his decision to delay proceedings so long made actually enabled to come through while he was still in custody following the expiration of Ecuadorian hospitality.
Assange wasn't locked in the embassy. He was free (and encouraged by the British, and until they gave up the Swedish) to leave at any time.
Assange chose to stay in the embassy for longer than his likely worst-case sentence, until expelled, in a futile attempt to avoid potential US charges he wasn't then facing and which his decision to delay proceedings so long made actually enabled to come through while he was still in custody following the expiration of Ecuadorian hospitality.