Allowed, provided that you continue on to the next continent on the next available (or within 24 hours) flight off the continent to Asia or N. America (assuming that it is the beginning of your trip). You may want to use CDG as your transit airport returning from Africa to avoid confusion with AMS being your starting airport.