A Japanese court ruled that extramarital affairs are alright, so long as they’re done for business purposes.

According to the Japan Times, the Tokyo District Court ruled on a case where a man’s wife was seeking compensation from a night-club hostess who had a sexual relationship with the husband.

The court ruled the wife should not receive compensation because the hostess was engaging in the affair for business reasons: to retain the husband as a customer. This precedent could also apply to prostitution, a more direct type of sexual business transaction.

Some legal and judicial experts worry that this case will justify extramarital affairs under what the judge called “makura eigyo,” which loosely translates to “pillow sales tactic.”

The decision was handed down in April 2014, but is discussed in the current issue of legal magazine Hanrei Times. The wife did not appeal the ruling so the case has been finalized.

Get The Brief. Sign up to receive the top stories you need to know right now. Please enter a valid email address. Sign Up Now Check the box if you do not wish to receive promotional offers via email from TIME. You can unsubscribe at any time. By signing up you are agreeing to our Terms of Use and Privacy Policy . This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply. Thank you! For your security, we've sent a confirmation email to the address you entered. Click the link to confirm your subscription and begin receiving our newsletters. If you don't get the confirmation within 10 minutes, please check your spam folder.

Write to Tessa Berenson at tessa.berenson@time.com.