A new gun-rights law enacted in Tennessee prohibits the state from enforcing any limits on firearms imposed by international law and treaties.

The text of the bill states: "[N]o personnel or property of this state...shall be allocated to the implementation, regulation, or enforcement of any international law or treaty regulating the ownership, use, or possession of firearms, ammunition, or firearm accessories, if the use of personnel or property" would violate gun-rights protections in state law or in the state Constitution.

Republican Gov. Bill Haslam signed the legislation Tuesday after it easily passed both houses with only two lawmakers voting against it. It takes effect in July, but whether will have any impact on guns in Tennessee is an open question.

The Tennessee statute "rests on a well-established legal principle known as the anti-commandeering doctrine," writes Michael Boldin, executive director of the Tenth Amendment Center, which advocates for states' rights and supported the measure.