My guess is that Leon since the beginning he thought the only way to survive if he had power. He probably felt that rebelling against the empire would be futile, so he pledged loyalty to them. But then again, I could be wrong