Religious codes apply to observant members of that religion. Others have no obligation to follow them
Is not that simple, religions shaped civilizations and societies, and sometimes ethical codes emerged, and ethical codes should be observed regardless of your personal views.
---
Nor can they impose old ones.
It depends.
