Court backs firm against interference from police