A South Florida appeals court has upheld the constitutionality of a controversial change to the state’s “stand your ground” self-defense law, but also might have set the stage for a debate at the Florida Supreme Court about how the change should apply in some cases.

The decision Friday by the Third District Court of Appeal in a Miami-Dade County shooting case came a week after another appeals court ruled on similar issues in a Hillsborough County case. The two appellate courts disagreed on a key issue about how judges should carry out the “stand your ground” change in older cases, a type of legal conflict that can spur the Supreme Court to take up the issue.