Incorrect: Der Rucksack, in dem ich mein Essen gepackt habe.
Correct: Der Rucksack, in den ich mein Essen gepackt habe.
I don't understand the correction.
Considering there is no movement, I would expect the relative pronoun to be in dative case. But the correct answer seems to be accusative.