Yeah. I'd say that, if your boxes and party are full when you catch either Dragon, then they're sent there to be caught a second time.
I know for a fact that you can't advance in the game without legitimately catching Reshiram / Zekrom, so that crosses out the idea of, "Catch them there if you don't at N's Castle".
It is very possible to have six Pokemon already, when you go to catch the legendary dragons, so this must be where they go if the box you try to transfer them to is full.