Court ruling clarifies legality of imports