Nothing in this subchapter prohibits a religious association or a cemetery authority of a cemetery that is affiliated with a religious association from prohibiting the burial of the human remains of an individual in the cemetery if the individual was in a class of individuals who are prohibited under regulations adopted by the cemetery authority or religious association from being buried in the cemetery.