The Supreme Court ruled 5-4 against the historic preservationists who sought to block the project.