The court also ordered that when the accused, Inacio de Castro (19), had completed his sentence he would be deported.
Crown Advocate Sally Sharpe said that de Castro arrived with his girlfriend from Gatwick in January and their luggage was searched.
Heroin with a street value of up to £103,000 and crack cocaine worth £240 were found in the heels of three boots belonging to his girlfriend found in his suitcase.
When interviewed, de Castro – a first offender – said that they had missed their flight to Jersey the previous day and that while they were staying overnight at a hotel in Gatwick a man they met had placed the drugs in the boots.
De Castro said that the man had told him the drugs would be collected from Jersey Airport.
He claimed he had not been paid for the job but would be done a favour in return.
Advocate Sharpe said that although the girlfriend was initially charged and indicted with the offence, the prosecution against her was abandoned in June.
Taking into account the age of the youth, his previous clean record and his guilty plea, the advocate called for a five-year sentence in youth custody.