'Sour' is a predicate adjective. 'The' is an article, one of the determiners, which act like adjectives, but are not normally classified as such. I think you are right, but I wouldn't insist on it with his teacher.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.