Edit: this is in reference to "brick the barn". Grammatical if nonsensical. "Brick ancient barn" is of course weird and wrong unless you really want to emphasize that this is a brick ancient barn and not a wooden ancient barn like all the other ancient barns. The normal adjective order can be deviated from for emphasis. My point was that that didn't work when "the" was one of the "adjectives".
(I've been trying to fall asleep for hours so I make mistakes left and right -- I apologize for not being clear about the word list I referred to.)