You absolutely will have to go out and come back in again. But it won't take very long. Less than an hour. If you try to go to the transit lounge, they will push you through immigration. I guess if you have a BP for the outbound flight you can try to gangster your way through, but otherwise you have to immigrate and then check in for your return.