The Moroccan legal code forbids girls under age 18 to marry, but exceptions are granted most of the time.