Also IANAL,
As a SWE, all of my employment contracts explicitly state that code that I wrote for the company is owned by the company. Just because he was paid for services does not mean that the company owns the copyright of the code he wrote.
As a SWE, all of my employment contracts explicitly state that code that I wrote for the company is owned by the company. Just because he was paid for services does not mean that the company owns the copyright of the code he wrote.
What jurisdiction do you work in?
I live and work in Sweden too and I am able to dictate those parts of my contract. Especially as I do a lot of open source work.