In this lesson about de/d'in front of adjectives preceding nouns, there are examples:
des endroits magnifiques
de magnifiques gâteaux
I understand the point about using de when the adjective precedes, but why is magnifique used both before and after the nouns in these examples?