The matter was heard by Justice B V Nagarathna, who addressed the nature of consent and the distinction between consensual relationships and criminal offences.