This is actually a legal move. Check the rulebook.