A course of training in barbering or cosmetology established by federal or state correctional institutions in California may qualify a person thereby trained to take the examination for licensure as a barber or cosmetologist provided the course complies with all applicable provisions of this act and the regulations adopted pursuant thereto.