The Treasury Department warned this year that the restructuring of a government loan to solar-panel maker Solyndra LLC might be illegal, newly released email excerpts show.

Those excerpts and other emails released Friday offer a new picture of how the Obama administration may have brushed aside warnings and, in one instance, a possible conflict of interest as officials pushed to support the solar-panel maker.

Solyndra received a $535 million Department of Energy loan guarantee in September 2009, and the loan itself came from a part of the Treasury Department. Early this year, with the company’s finances growing shakier, private investors agreed to pump an additional $75 million into Solyndra. As part of that restructuring, the government agreed to take a back seat to those investors in getting repaid if Solyndra had to be liquidated. The company filed for bankruptcy last month