Here’s everything you need to know about the ruling.