It's illegal, but I'm not sure what the exact rule is. It's something to do with having 3 players on each side.