The Supreme Court ruled Tuesday that people convicted of a crime overseas may own a gun in the United States.

In a 5-3 decision, the Court ruled in favor of Gary Sherwood Small of Pennsylvania. The Court reasoned that U.S. law, which prohibits felons who have been convicted in “any court” from owning guns, applies only to domestic crimes.