Internal function used by get_target_categories() and add_target_subcategories()
Can this category be moved to the given category ? Impossible when origin and target are the same... children won't be processed either. (a category can't be moved to one of its own children)
If this category moves from inside a course to outside, its course code must be changed, as well as the course code of all underlying categories and evaluations. All links will be deleted as well !