Court acquits ex-PM in illegal recruitment case