Spectroscopic classification of a complete sample of astrometrically-selected quasar candidates using Gaia DR2