blocks can be "valid" but if they aren't the first valid block you receive, they don't get added to your copy of the blockchain.