I check it out and found no problem.
After getting the transformation you need to turn the switch and go down the other staircase where the red barrier was. Go down the stairs through the cave hole and you arrive at a diving spot at the other side of the swimming passage.