Foster child or not, dad must pay maintenance - court