Is an embassy on foreign soil the sovereign territory of the host country or the embassy's country?

Thus, if, for example, you are in the British embassy in Beijing, are you in China or the UK? Are you subject to British or Chinese law?
17 answers 17