If, in any contract submitted and approved by the commission or in any order made by the commission pursuant to application and petition as in this article provided, it is provided that the utility is not to serve or furnish electric energy in a specified area or areas, or is to furnish or serve electric energy under limited or specified circumstances only, or is to refrain from serving or furnishing electric energy in certain specified areas or under certain specified circumstances or under certain specified limitations, then, from and after the effective date of such order of the commission, it shall be unlawful for the utility to serve electric energy in any area or in any manner which the contract and order provides that service shall not be rendered, and the affected district shall be entitled, as a matter of right, to an injunction to prevent any such unlawful act on the part of the utility.
Ca. Pub. Util. Code § 8108