Do the events in both movies take place in the same universe? The rules for both movies are the same: "We're built on top of a table!", Batman refers to being a master builder.
Are they in the same universe?
The film's directors have openly acknowledged that there's a connection between the two films and that the goal is to build an interconnected "Lego Cinematic Universe".
At the same time they utterly reserve the right to have the events of this and subsequent films not reflect the events of the "external universe" that we saw at the end of The Lego Movie.
Q. The film’s ending doesn’t pull back into the human world like the first film did, but it still sort of winks at the macro idea that we’re watching a movie about physical toys on a table. Do you think that’s going to be a staple of LEGO movies?
CHRIS MCKAY: Everyone says this, but for lack of a better phrase, there’s a LEGO cinematic universe that we’re building that has a sci-fi premise, as far as the world that the movies are taking place in for the majority of the running time, and the other world that’s out there. I think over the course of the movies, we’re building out the relationship between those. There’s no mandate necessarily to do that, but we are very actively working to find all of the rules and develop that relationship between the real world and the LEGO world. You’ll start to see it in what we’re doing with Ninjago and what what we’re doing in LEGO 2.
Miller: "The thing is about these movies is that each of them have their own tone and their own voice. We’re doing this Ninjago one with Charlie Bean, we’re working on the Batman one, and each one of them feels like its own movie, but obviously they all exist in the universe that the Lego movie existed in, and so finding that balance has been part of the trick."