i wouldn't call it the real world. if you'll notice, the first "image" (leftmost) is the same as the final one (rightmost), the difference being the time of day.
i'd just call the section that Mima is in is a part of Gensokyo that predates everything else we see here.