I wouldnt be worried that a judge would find out about a recomendation, but take into consideration that you may be drug tested at the end of your probation period depending on the seriousness of you drug offense.