Yes that's the point. The legislation allows them to close on their day of rest/worship.
You are missing the point, if religious observance was the driving factor then the legislation would not have been enacted at all. The legislation relaxed those laws, it didn't enforce them.
It would have remained as it was.
