A mechanic used his job in a motorbike workshop to receive shipments of cocaine hidden in spare parts, a court heard.
Hudson De Oliveria, 30, from Canning Town, allegedly imported more than half a kilo of the drug from his native Brazil.
Police launched an undercover operation after an inspector became suspicious when the package was put through an X-ray machine at a Parcelforce depot in Coventry on February 1.
Snaresbrook Crown Court heard a white paste was seen inside and tested positive for cocaine.
The package was allowed to be delivered to Whitechapel and the drugs replaced.
An undercover police officer posing as a courier went to the address in east London and the accused signed for the package.
Police arrested De Oliveria who said his name was Giovani Constantino.
The white paste was found to contain 689g of cocaine at 68 per cent purity.
De Oliveria, of Crediton Road, denies one count of dealing with goods with fraudulent intent.
The trial continues.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here