Lots more can be said about this, but I wrote a previous answer about it, which might be helpful:
What was the Eastern Roman reaction to Charlemagne being crowned Roman Emperor by the pope in 800?