HOw do swapped OBDII cars pass emissions?

If they are swapped with OBDII motor is it easier?

What about if swapped with OBDI/0 motor?

Can they even pass?