They must be dimension coordinates of the cube, i.e. in ```cube.dim_coords```. Being a ```DimCoord``` is not sufficient as they might be in auxiliary coordinates (i.e. in ```cube.aux_coords```) yet still be instances of ```DimCoord```.