It is NOT contrary to the Constitution. They should take it to the Supremes.
You're right. The constitution only prohibits the establishment of a state religion.