Trans teen wins the right to look like herself in driver's license photo

What exact nefarious activity could one be attempting by having an ID that does NOT look like themselves…?

Until I can think of a single example, I’m assuming the S.C. DMV guys were just purposefully being homophobic/bigoted assholes.