I would conclude that it is unlikely that you will get the miles. Here is likely what will happen: You will be flying AF and, thus, checked in with Air France. The information will come from AF's computer system back to AS, specifying "N" class flown. Therefore, AS will deny miles for that fare class.