The policy, instituted in the 1970s by George Steinbrenner, had forced players to trim their hair if they wanted to join the team.