A judge ruled that Montana’s fossil fuel policies violated a provision in its constitution that guarantees "a clean and healthful environment."