[Python.NET] Casting an object to a different interface