FilePath APIs are too safe

Is that true? I can do this:

import System
var p = FilePath("/var")
let f = FilePath.Component("run")
p.append(f)
print(p) // /var/run

This is swift 5.6.1