How is this Legal

Like really, looks like a cheat to me unless someone can explain