The terms are often used interchangeably, but a distinction exists:
Modern "classical" guitars often use rosewood/Indian rosewood for a warmer, sustained concert tone. Flamenco guitars (a Spanish-guitar subset) have lower action, tap plates (golpeadores), and cypress bodies for rapid attack.
Bottom line: All Spanish guitars are classical guitars; not all classical guitars are "Spanish" in the traditional build sense.