This might belong to another thread, because you first have to sort out, whether the courtyard - as T: Room - needs to have a floor and you hence destroy it with the teleport of its walls.
Best start with:
So, you decide to teleport the courtyard with both floor and all walls, then the type 2 spell with T: Room might move with it.