OK, so you did something a bit dodgy, but then as said above, the builder is just as guilty of that. And they didn't even give you the option of looking at/fixing any alleged issues.
I would put money on them not taking you to court over this - they know they would have next to no chance of proving anything against you. I reckon they're just trying it on. Wouldn't surprise me if they've done something like this before.
At the end of the day, you did some installation work and you assumed the builder was going to get building control to sign it off as part of the whole works.
DON'T PAY HIM.