Energy security and sustainability : in search of coherence -- Regulation : a theoretical context -- Electricity and environmental regulation : an uneasy relationship -- The Brazilian electricity sector -- Appendix I. Environmental law precedents applied to the electricity sector -- Appendix II. Connecting law, regulation and sustainable development.