The spell targets an object, disregarding any other creatures in the way. This is a form of smite targeting that requires a target object.