It’s legal either way. The Supreme Court wants to create a constitutional crisis by continuing to let left-wing abominations stand, it’ll happen.
Indeed the whole point of the 1st ammedment was to prevent scumbag infringement upon the practice or establishment of religion like this.