Pete Doherty's lawyer has confirmed that the singer is attending a rehabilitation clinic in Portugal and said his treatment was "going well".
Doherty was still "striving towards" negative drugs tests, his lawyer said
Sean Curran spoke at a court hearing to review the Babyshambles star's progress in tackling his drug addiction.
He also said Doherty was expected to return to the UK on Saturday.
Last week Spanish police were called to to meet a plane carrying the singer after EasyJet said crew members found a blood-covered syringe in a toilet.
They met Doherty and four friends at Barcelona airport but found no suspicious substances in the lavatories.
None of them was charged and Babyshambles went on to play at the city's Primavera Sound Festival.
Mr Curran said the troubled star was still "striving towards" negative drugs tests and added there were "valid reasons" why he was unable to attend the hearing at Thames Magistrates Court in east London.
"I have spoken to the person who is managing Mr Doherty at present and he has confirmed he is in Portugal and he is at the clinic," said Mr Curran.
"I understand treatment is going well and he is due to return back to the UK on Saturday," he added.
District Judge Jane McIvor agreed with Mr Curran that there was a suitable explanation for Doherty's absence, noting that he was not on bail or on a charge.
It was a "tough struggle for him, but he's not going backwards", she added.
A further review of the drug treatment and testing order will be held on 13 July.
In April Doherty was sentenced to a community order with two years' supervision and 18 months of drug rehabilitation after admitting seven charges of possessing illegal substances including heroin, cocaine and cannabis.
Two months earlier he received a 12-month community order for seven counts of possessing controlled drugs.
The judge warned Doherty at the time he faced jail if he did not stay off drugs.
Doherty's previous attempts at rehabilitation have all ended in failure.
He had unsuccessful bids at detoxing in the Priory in west London and at a clinic in France.
His third attempt was at the Thamkrabok Monastery in Thailand, regarded as a "last-chance saloon" for hardened drug addicts.
But Doherty was unable to cope with the harsh regime and left after three days.