A wet lease is intended to be "invisible" to the consumer.
Even in the "Generous by Nature" FFP, it would be rather disingenuous for FB to refuse mileage credits. Afterall, you cannot claim miles from LOT or any other Star Alliance programme for these flights.