The judge was relying on an article in the Tunisian Criminal Code which stipulates that while sex with a girl under 15 without the use of force is punishable by six years in prison, the culprit can halt proceedings by marrying the victim.