Man impersonating CBI officer gets 10 years in jail