OWLEquivalentClassesAxiom newXPAxiom = df.getOWLEquivalentClassesAxiom(owlClass, intersectionOf);
OWLOntology rootOntology = project.getRootOntology();
OWLEquivalentClassesAxiom existingXPAxiom = getCrossProductEquivalentClassesAxiom(rootOntology, owlClass);
UserId userId = getUserInSessionAndEnsureSignedIn();
List<OWLOntologyChange> changes = new ArrayList<OWLOntologyChange>();
changes.add(new AddAxiom(rootOntology, newXPAxiom));
if (existingXPAxiom != null) {
changes.add(new RemoveAxiom(rootOntology, existingXPAxiom));
}