After he was told not to. Read the story.
He was told he would get a ticket, not arrested. I read the story. Do you do everything someone tells you because they have a certain outfit on? Some cops are jerks. The less real authority they have, the worse they usually are. A park ranger is about as bad as a mall rent-a-cop.