A solar rooftop company that entered into a long-term contract to supply electricity to a city building in Dubuque, Iowa from solar panels it mounted on the roof is not making retail sales of electricity, an Iowa court said.