Civil-law regulation of retail electricity markets