This function doesn't verify the scope anymore, verify_resowner_scope does it.