windsor castle , the palace 20 miles west of london , has been a royal residence for more than 800 years , and the queen took the gorbachevs on a tour of some of its rooms and held a lunch in their honor .