Judge allows inmate to meet infant son in court