The method failed to enable views which were created by copying a theme.ir.ui.view. This is because standard views were found with the 'ref' method while those particular ones were found thanks to the copy_ids field... which only found the already active ones by default.