In most states, marriage can occur below the age of consent with parental approval. Or is the state the parent, now, too? I still don't see what that has to do with "religious customs".
I don't know what religious customs he was referring to either.
However.
The law in question was going to limit marriage to 18 or over, no exceptions. My guess at the intent of the law is to prevent "parental approval" from being taken to the very extremes people are all upset about here.
If the law is going to define minimum ages, and the intent is to not allow such parental approvals, then "exceptions" would naturally have to be granted by a judge.
Even in "parental approval" states, however, that is a legal requirement that has to be included on the marriage license.