If you rescue the blue dragon in the forest, he'll give you some slimy black undergarments. If you wear those, you'll be able to pass the barrier.
If you didn't rescue him, or already left the forest, they'll vanish and break though. So you might need to go back to a previous save / start again.