Judges see this crap all the time. Your H's motives are transparent. His concern for his d5, not so much. Where was his concern when he put a lock on the thermostat? The judge will be angry with him.
I'm glad you are feeling calmer. You need to stay calm and keep your resolve to stop fighting with h. Your life truly depends upon it.