If I remember right the damage area for the Barrier is everywhere on the map that is not the castle. So even if you managed to get past it, it would still damage you.
Some old discussion on it here.
http://forums.zeldaspeedruns.com/index.php?topic=78.640
Some old discussion on it here.
http://forums.zeldaspeedruns.com/index.php?topic=78.640