Hi, I think again. There maybe a liitle different.
For example, you call me and ask where I am. I said, 我在家里面。then, you come to my house which has two rooms, and my wife open the door, she will say, come in, Songfei在里边那件屋子。
I guess the house is a container, so 我在家里面. But the door and the wall is a line, when you cross the line, you will find me. So my wife will say 他在里边那件屋子。
Anyway, it's my guess. When we speak, we don't think about these rules. We just perfer to use one word rather than another. Are you interested in finding a language parter? Even only speak one or two sentence a day, we can helpe each other a lot.