Home renting services Airbnb and HomeAway won a preliminary injunction in federal court Thursday against a New York City law set to go into effect in February that aimed to regulate the growth of short-term rentals across the city.

U.S. District Judge Paul Engelmayer of the Southern District of New York issued the preliminary injunction ahead of the deadline, indicating an expeditious move to discovery to, as the court put it, “rule on the platforms’ application for permanent relief” and indicated a favorable reading for the service providers under the Fourth Amendment.