"In the room of" = "in the space of", in place of...Can't remember where specifically, but I have seen this use in other archaic stories / lyrics. Also, to "take" someone for something else as in "what do you take me for?" I took you for a swan. Again, it's archaic but not uncommon.
Julia