Most religions are centered in the mind as a set of beliefs or moral principles.
This can become hard and intractable.
It is this that Jesus criticized in the Pharisees.
But true religion is centered in the heart.
And the heart will make concessions according to understanding.
This is much closer to the teachings of Jesus of Nazareth.
And it explains his setting aside of the Law in certain circumstances.
"What does your heart say?"
It is this that matters.