Its not an illegal move unless the ref catches it.