It doesn't produce a clean sine wave where the frequency can be changed electronically. It produces a clean sine wave where the frequency can be changed leisurely by a slow processor.
(I didn't say it was a _good_ solution, just that it's _a_ solution.)
I'm not sure how you build an oscillator without AGC of some sort; you must be a better man than me.