Yes, UNLESS religion is being used as a means of discrimination against certain aspects of a person
For example, being unable to make something haram or that is not kosher is understandable. Being unable to set a hatred of same sex couples aside is not acceptable.