Goods produced in whole or in part by persons confined in another state or territory may be transported and sold in this state in the same manner as goods produced by persons committed to the department in this state may be transported or sold in that state or territory.