Yes, the backshift of the subordinate verb is a result of its being classified as reported speech, which also applies to other verbs of knowing, thinking, etc.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.