Why on earth anyone would fly to Barcelona with a connection is completely beyond me when there are a plethora of direct flights. Is business class really worth bothering with for the sake of having to change planes and add 2 hours to the trip?
Usually it's to do with frequent flyer programmes. Star in this case. Thousands do it everyday in Europe. In fact, in the US it's pretty standard!