'If you appear a fifth time, I would expect a prison sentence', Magistrate warns drug driver