Court ruling paves way for out-of-staters to own medical mar