A new California law that prohibits most law enforcement officers from wearing masks is having its day in court.