In this video (you don't have to watch it but just in case) the teacher provided two sentences as an example of usage of "will":
I asked the pirate where the treasure was but he wouldn't tell me.
I asked the pirate where the treasure is but he won't tell me.
The last one confuses me as I remember being taught that the subordinate clause must follow the sequence of tenses rule (like in the first example) and I cannot figure out what the exception it fits to. Why is the last example grammatically correct?