Recycling company's rail plan on track after decisive court ruling