PI can’t shirk responsibility to abide by undertaking in court: HC