Pet lorikeet with wild birds

Hi Everyone,
I'm hoping for some advice. We have a pet rainbow lorikeet that we adopted about 3 years ago. He is inside at night but has an outside cage during the day. Lately he has had wild birds coming and landing on his cage - often the same bird ( I think a girl). As I've read that rainbows mate for life, I'm trying to work out how to stop an attachment happening as he won't be able to take care of her in the wild.