Both phrases can be used to contrast fact/reality/truth with something that is not so:
Many people believe that law and justice are the same thing; in reality/fact they can be very different. 'In fact' can be used simply as a simple clarifier/intensifier; 'in reality is not used in this way:
I don't think John is coming today. I fact I'm sure he's not.