Relative anomaly in ( 1+1 )d rational conformal field theory