Court rules in favour of software engineer