Throw an error if we attempt to modify a different version of Leaflet.