Some members of the Kennedy family and several lawmakers expressed opposition to the move and questioned its legality.