In Spain, wearing a helmet is compulsory.
In France, wearing a helmet and gloves (both for the rider and the passenger) is compulsory.
In both countries, it is forbidden to ride in flip-flops or without any clothing (e.g. without a T-shirt or shoes).