Any home rule charter city of the fourth class in this state owning and operating an electric light and power plant for the production and distribution of electricity may dispose of any surplus electricity produced to private consumers desiring the same residing outside the corporate limits of the city, at rates and upon terms as the governing body of the city may deem proper. Any disposition made pursuant to this section shall be subject to the restrictions in chapter 216B.