It begins with a legal dilemma: E.g. asylum is a human right, but how to determine who is eligible? In a timely manner that is. Especially if you have thousands of applicants and (almost) no documents. How do you house people in the meantime? What rights do they have?