Yes, your interpretation is fairly accurate. In fact, in the next sentence, the Kaiser gives him the opportunity to 'make up' for the wrong he has done.
"Still, they tell me that your work in Africa was well and thoroughly done. I give you this one great chance of rehabilitation. If your work in England commends itself to me, the sentence of exile under which you suffer shall be rescinded."
You seem to have a very good grasp on the language.
Interested in Language