New rules from the Labour Party government will give courts more power to impose licence restrictions and penalties.