Onkar Singh will also lose his job, a court heard