Every sin is against God.

Obedience to competent authority is required of everyone, including these priests.

Disobedience was their sin, although lying well may have entered into as they moved into relationships they knew were forbidden them.