Interestingly, this wasn’t the view at the last ICAO meeting I attended where somebody from their regulation department came along and expressed the view that the question of airline share ownership was a real problem on bilateral agreements where named airlines are still specified.
As I said above it is less of a problem with Open Skies agreements and within the EU, but there are still a large number of bilateral agreements around.