The boy’s facial injuries were treated by medics but he has been left with scarring, a court hears.