Last March, Ms. Cheng was tried in secret in a Chinese court. Australia’s ambassador to China Graham Fletcher, tried unsuccessfully to gain entry to the court to witness proceedings. Her family also did not know the charges she faced.

Critics have long accused China of using prisoners as political bargaining chips.