Which is what it has attempted to do: one cost-effective swimming class for all, in a system that has, no doubt, been accepted as reasonable for decades despite having limited resources and limited time in a busy school day.
The children learn to swim and simultaneously learn how to interact with their peers in a different situation, even though they may be distracted by the lack of clothing. The Moslem parents would rather their boys go on to be ignorant of what behaviour is expected of them when in proximity to female skin, and to perpetrate harassment whenever they are close to women in the future.