A French woman has admitted attempting to open an aeroplane door mid-flight so that she could smoke a cigarette.