Complex sentence: The result of the referendum was a majority in favour of leaving the EC, and this was enacted by the Greenland Treaty, which allowed the EC to keep its fishing rights.
Split into simpler sentences: The result of the referendum was a majority in favour of leaving the EC, and this was enacted by the Greenland Treaty. The Treaty allowed the EC to keep its fishing rights.