Flying Blue works diffrently from, say, M&M. While miles accrual with M&M on codeshre flights is determined by the corresponding booking class of the operating carrier, FB's rules are such that miles are determined by the booking class you actually booked. So if you book E class on a CZ code, you get miles according to the CZ earning table in the FB partner section. The operating carrier is irrelevant here.