First off, you claim that the Federal Judge's ruling somehow violates the Constitution. That's just silly
But you're right on the second point - the Constitution does not guarantee freedom from religion. What does this mean? Judge Roy Moore is free to buy a parcel of land in Mobile, and assuming local zoning laws don't pose a problem, he can build a 110 story billboard, advertising the Ten Commandments to the surrounding eight counties. He can buy radio stations and television stations, disseminating his views to every home and car in the state. He can do just about anything imagineable - even go door to door - to promote his religion. What he cannot do - what the Establishment Clause of the First Amendment prevents him from doing - is use his Government position to help his effort.
The establishment clause prevents Congress from establishing a religion or preventing the free exercise thereof. Judge Moore can do anything Alabamans allow him to do. It's their business, not yours.