Uh, per my reading of the 'weapon proficiency' entry on page 146 of the PHB, no where does it state that a PC unproficient in a weapon cant use said weapon at it's full damage dice. The attack roll just does not benefit from the character's proficiency bonus. Congrats, that wizard can wield that...