Whether a developer mistakenly believed it had the right to remove trees and dirt from a property was the deciding factor in a ruling requiring its insurer to defend it against a lawsuit brought by the property owners.