Facts

The appellant [X.] is an independent, autonomous public-law institution of the Municipality of [U.] , with responsibilities in energy supply (electricity, gas, district heating), water supply, thermal waste incineration and telecommunications services. It aims for a corporate profit, a large part of which it distributes to the Municipality of the City of [U.] . Within the municipal territory it holds the monopoly for electricity supply. In principle, it is tax-exempt.

By assessment decisions of 22 August 2011, the Tax Administration of the Canton of Bern assessed the appellant for cantonal and municipal taxes for the periods 2002, 2003 and 2004, with taxable profits of CHF 8'759'470.-- (2002), CHF 8'527'100.-- (2003) and CHF 2'820'400.-- (2004). These assessments are based on profits from electricity trading, for which the Tax Administration did not grant a tax exemption. The objection was dismissed on 13 September 2012; the appeal to the Tax Appeals Commission (decision of 25 March 2014) and the complaint to the Administrative Court of the Canton of Bern (judgment of 5 February 2016) were unsuccessful.

By public law appeal of 9 March 2016, the appellant requested that the assessments be made without the profit shares from electricity trading, and that the profit assessments be reduced accordingly. The Administrative Court and the Tax Administration requested dismissal; the Federal Tax Administration waived a statement of position.

The disputed issues are whether electricity trading falls under the tax exemption under Art. 83 para. 1 let. c StA/BE, and whether the appellant may rely on the protection of legitimate expectations based on a letter from the Tax Administration dated 10 May 2002.

Considerations

The contested judgment is a final cantonal decision on direct taxes, so the public law appeal under Art. 82 ff. FSCA in conjunction with Art. 73 DTHA is admissible. The appellant does not rely on a special standing under Art. 89 para. 2 FSCA, but on the general standing clause under Art. 89 para. 1 FSCA. Public bodies are to be admitted only restrictively; however, as taxpayers they are affected in the same way as private parties. Standing is therefore affirmed and the appeal is admissible.

The application of harmonized cantonal tax law is reviewed freely insofar as federal law is concerned. Where the canton retains a discretionary scope under harmonization law, the Federal Supreme Court reviews only for arbitrariness, whereby the qualified complaint requirements under Art. 106 para. 2 FSCA apply. Art. 23 para. 1 let. c DTHA allows the cantons, in accordance with cantonal law, to define the exemption of municipalities and their institutions. Art. 83 para. 1 let. c StA/BE exempts the profit and net assets that serve public purposes, with the exception of net profit from undertakings outside the municipal territory or in competition with private undertakings.

The lower court denied that electricity trading served a public purpose, based on the high share of energy sold (approximately 34 to 43 percent of total production) and the profits generated. Independently of this, it affirmed the tax liability because electricity trading takes place outside the municipal territory and competes with private undertakings. The appellant complains of violations of harmonization legislation, the principle of the unity of the legal order and the prohibition of arbitrariness. It argues that electricity trading is necessary for security of supply, that the trade takes place at the location of the undertaking, and that anonymity exists on the electricity exchange.

The complaints are unfounded. The Canton of Bern has permissibly used its discretionary scope under Art. 23 para. 1 let. c DTHA by expressly excluding net profit outside the municipal territory or in competition from the exemption. Since the appellant's monopoly within the municipal territory is undisputed, surplus energy quantities are necessarily sold to external customers; a material difference from direct supply to external end customers is not apparent, which the appellant in any event implicitly acknowledges. From the standpoint of arbitrariness, it is not objectionable that the lower court considered the exception to be…