The father of Annanias Mathe, South Africa's own Houdini, this week made an emotional plea to the Pretoria magistrates' court to release him from prison.
Zaphanias Mathe, 80, was arrested in May after prison officials found him in possession of an illegal substance that was stuffed in a loaf of bread while on a visit to his son in prison.
On the verge of tears, the elder Mathe held the court up for about 30 minutes and refused to leave the dock.
He said he should be allowed to go home because he was suffering in prison and wanted to see his children.
Magistrate Peet van Vuuren sent him back to jail but instructed the prosecutor and defence to work out a deal to release him.
"We cannot keep this old man in prison for nothing," said Van Vuuren.
The prosecutor told the court that the state could not let Mathe go because, whether or not what he tried to smuggle to his son was lethal, he had broken the law.
After proceedings, Mathe's legal representative, Lardo Eloff, told the media: "After the trial, he will be deported back to Mozambique, where he has children."
The case was postponed to 30 July for trial.