If a lawmaker bans satanism or enacts a law that otherwise discriminates against satanists. Then that’s not allowed. But what wouldn’t be a problem would be a religious lawmaker on a totally secular subject. Like the example I gave in another comment how one could in theory loosen immigration restriction by quoting the parable of the good Samaritan. That law would not be religious law, even if the law maker was motivated by his religious belief.
If a lawmaker bans satanism or enacts a law that otherwise discriminates against satanists. Then that’s not allowed. But what wouldn’t be a problem would be a religious lawmaker on a totally secular subject. Like the example I gave in another comment how one could in theory loosen immigration restriction by quoting the parable of the good Samaritan. That law would not be religious law, even if the law maker was motivated by his religious belief.