Luxury brand Yves Saint Laurent (YSL) has overcome two Community design challenges centring on its handbags that were filed by retailer H&M.