The court may take appropriate measures to ensure that the woman against whom the offence is committed is not confronted by the accused while her evidence is to be recorded, only, if the age of the woman is below eighteen years while at the same time ensuring the right of fair trial of the accused.