You can earn cards from any castle up to the castle you are in.
They can be sorted in the chests or you can purchase them in the Store when available.

It is not necessary to go to a lower castle to earn cards from that castle.