If the UK leaves key international agreements, it will be a blow for health, justice, and accountability