Of course, they had obtained the rights to make the game. (from Hasbro/Wizards of the Coast who owns the D&D license!) And probably also? from Atari.....
However, Trent Oster and Beamdog couldn't know that Atari would file for bankruptcy (chapter 11 or Chapter 7) in 2013 when they started making the EE version of BG1 in
2011.