Photoemission and x-ray diffraction study of the interface