A major court ruling has laid bare the rift between owners of uninsurable property, councils, and environmental groups over who bears the cost of defending beachfront real estate.