Iran insists it has the right to enrich uranium , which can be used in energy production and nuclear weapons .