Don't tell immigration you are just going through only for the stamp though, since they'll send you back saying you don't have enough time. Tell them you want to get lunch, go check out the train station or meeting a "friend" (something that actually requires you to go outside)