No they are not interchangeable because the interfaces are different. The LocalHome interface is different to the Home interface so the class cast is different for the remote and local lookups. Similarly, the local and local home interfaces manufacture different interfaces to the EJB (remote and local).
So you cannot bind two different references to the JNDI name.
All in all, you explicitly operate with a different set of interfaces.