Yes I could have checked the bag to begin with but usually I travel light with just a small carry-on and don't want to check in order to be quicker/nimbler, and because it holds my toiletries and favorite neck pillow. But if I have no choice but to check it, then I will. Like if I really don't want to open sealed amenity kits.
I mean, even the TSA officially still requires that you put your liquids in a 311 bag. Or something like that. Only they usually don't bother enforcing it to a T. I just don't understand why they do in Madrid, since I've never had a problem anywhere else in the world. And I collect amenity kits and give them to family/friends as gifts all the time.