Rinse the cod and start the soak — two days before. Rinse the salt cod under cold running water. Place it skin side up in a large bowl and cover it with plenty of cold water — three to four times the weight of the fish. Refrigerate and change the water every 8 hours. Thick loins need 36 to 48 hours and 5 to 6 changes. Thin fillets need 24 hours and 3 changes. Shredded salt cod needs only 8 to 12 hours.
Taste-test the cod before you cook it. Simmer a small piece of the soaked cod in plain water for 2 minutes and taste it. It should be pleasantly seasoned, like well-salted fresh fish. If it is still too salty, give it another half day in fresh water.
Soak the choricero peppers. Pull the stems off the dried choricero peppers and shake out the seeds. Cover them with hot water and leave them for 1 hour until soft. Lift them out. Lay each pepper skin side down and scrape the soft red flesh off the skins with a spoon; throw the skins away.
Poach the cod gently and flake it. Drain the soaked cod and put it in a large saucepan. Cover it with fresh cold water. Bring it just to a simmer over medium heat, then lower the heat and cook for 5 minutes without letting it boil. Drain and cool until you can handle it. Flake it into large pieces, about 2 to 3 cm across, pulling out any bones and skin. Reserve 1/2 cup of the cooking liquid to loosen the sauce if needed.
Cook the potatoes separately. Put the halved potatoes in a saucepan, cover them with cold water, and bring them to a boil. Cook until just tender when pierced with a knife, about 12 to 15 minutes. Drain them and set them aside. Potatoes cooked in the sauce steal salt and fall apart; cooked on their own, they stay whole.
Build the vizcaína sauce. Heat the olive oil in a large, wide pot or a clay cazuela over medium heat. Add the onion and cook for about 10 minutes, stirring now and then, until soft and translucent. Stir in the garlic and cook for 1 minute more. Add the choricero flesh and cook for 2 minutes. Pour in the blended tomatoes, bay leaves, oregano and wine if using. Simmer on low for 25 to 30 minutes, stirring now and then, until thick, deep red and glossy.
Add the cod, potatoes and the rest. Add the flaked cod to the sauce, then the potatoes, the olives, the capers, the raisins, the almonds and the roasted pepper strips. Spoon sauce over everything and simmer very gently for 15 minutes. Do not stir — shake the pot by the handles instead. Stirring breaks the flakes into mush.
Finish with the chiles and parsley, then rest. Tuck the pickled güero chiles into the sauce and scatter the parsley over the top. Simmer for 5 minutes more. Take the pot off the heat, fish out the bay leaves, and let it rest for 10 minutes so the flavours soak into the fish. Taste it now — and only now — for salt, then serve hot from the cazuela with plenty of bread.