Warning

The -finiteness is crucial, consider the simple counterexaple with measure space and (the first is the usual lebesgue measure, the second is the counting measure). If we try to integrate the characteristic function of the diagonal set:

on the other hand