One critic called the move “petulance beyond measure.”