Annex, Legislation