A beach in France had to ban swimming because of an overly aroused dolphin