A religious sect cannot force a city to place its monument near a park display of the Ten Commandments, the Supreme Court ruled.