you can pull either or, one has to come out, tranny is likely easier to drop then a engine removal.

but if you got oil leaks this is the time to re gasket the engine.