Actually, it's not treated as the same. If it was, those barrier things like the Old Man Genocides fire thing wouldn't work: they only function because to escape one would need to cross the flames physically, which would not be a good idea.