The celebrated Irish writer had his pass revoked in 1895 after being imprisoned for a gay relationship.