They gave it to me on the plane, and the screen at the entrance to the immigration officer said it was required. He didn't do anything with it, iirc last time they kept the longer piece and gave me back the smaller piece to give to them on departure, but the immigration officer gave the entire thing back to me.