Let's put it this way to lessen the impact aspect.
A4 dunks during the pregame. The officials observe this and assess a team technical foul along with an indirect to the HC. For the first half, A4 is neither charged with any additional technical fouls nor any personal fouls. At halftime the crew looks in the rulebook and sees that the technical for the pregame dunk should have been charged to A4 as a bench technical foul.
What does the referee do coming out after halftime in this "low emotion, low impact" situation?
Remain silent? Mention the mistake to the coaches and rule that nothing can be done about it? Mention the mistake to the coaches and make the change (correct the mistake)?
Should the referee do the same thing here (no immediate disqualification) as in Nevadaref's original post (possible immediate disqualification)?
What if this was "discovered" two minutes into the first period? Too late?
What would James Naismith do?