The Philadelphia nonprofit looking to establish the nation’s first safe injection site got final approval to open its doors from a federal court in Pennsylvania on Tuesday, but, according to attorneys, the group might still have a long road of litigation ahead—one that could be paved with first-impression issues.

U.S. District Judge Gerald McHugh of the Eastern District of Pennsylvania ruled Tuesday that nothing in the nonprofit’s proposal to open a facility where medical staff would oversee heroin injections would violate federal law. The ruling came five months after the judge rejected arguments by federal prosecutors that the harm reduction site, proposed by the nonprofit Safehouse, would violate a portion of the Controlled Substances Act colloquially known as the “crack house” statute.