This function doesn't test if the registration is actually released, right? Is that intentional?