Venezuela's National Assembly has approved a measure criminalizing activities that hinder navigation and commerce, like the seizure of oil tankers.