John records that God providentially had the high priest speak a prophecy about the death of Jesus. This was a duty and function of the high priest’s office but this man did it ignorantly.
The Sabbath, rather than adding to the list of things “to-do,” is God showing care and compassion for His creation.