In the draft days, this "suggestion" was common practice.
Which is why it's illegal now. It's one of the only ways you can really get out of boot camp once you're there. You say, "Judge So-N-So told me to enlist or go to jail" and the DIs have to run it up the chain.