Bail to rape accused as court says girl knew full import of her actions