Book them under the same ticket using a travel agent. That way, you don't have to pay the taxes. You can enter the UK as you please if you have the right documents, as long as you have enough time to make it through security for your onward flight.
I've done this in NRT before to eat some sushi air side.