Merging albums with different ids

I have two albums which are the same album. Somehow they got imported differently. One with capital The and the other with lowercase the. I changed that but now they have identical parameters but different id.
How can I merge them?

album: Buck the World
albumartist: Young Buck
comp: 'False'
genre: Rap
id: 244
---
album: Buck the World
albumartist: Young Buck
comp: 'False'
genre: Rap
id: 494

Simplest way is to copy the tracks from both albums into a new folder and then re-import the new folder.

Thanks for answer! Ah, seems so. I did that and it works.

My initial idea was to change albumid 244 to 494 via edit and that beets will merge it.
This didn’t work because id: 244 persisted. Could do it via db but I don’t want to break it.
I’ve been trying to find adequate code lines that could help me understand this behaviour but it’s pretty advanced project that’s not easy for me to debug quickly.