If this was an oral thing (as opposed to written down) there is a difference in how they are said:

SPAnish professor - professor who teaches Spanish
spanish proFESSor - professor who is Spanish

At least when I would say them out loud there is a subtle difference. (The emphasis is somewhat more subtle than the caps I used, but there is no intermediate size!)