Generate text that is semantically similar to this text: under kansas law , it is illegal for children under the age of 16 to have sexual relations .
in the opinion , kline noted that it is illegal for children that young to have sexual relations .